Make nsinit package main only

Signed-off-by: Michael Crosby <michael@docker.com>
This commit is contained in:
Michael Crosby 2014-08-12 10:46:43 -07:00
parent 9378c05c37
commit 51e6049226
8 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
package nsinit
package main
import (
"encoding/json"

View File

@ -1,4 +1,4 @@
package nsinit
package main
import (
"fmt"

View File

@ -1,4 +1,4 @@
package nsinit
package main
import (
"log"

View File

@ -1,4 +1,4 @@
package nsinit
package main
import (
"log"
@ -26,7 +26,7 @@ func preload(context *cli.Context) error {
return nil
}
func NsInit() {
func main() {
// we need to check our argv 0 for any registred functions to run instead of the
// normal cli code path

View File

@ -1,4 +1,4 @@
package nsinit
package main
import (
"log"

View File

@ -1,4 +1,4 @@
package nsinit
package main
import (
"log"

View File

@ -1,4 +1,4 @@
package nsinit
package main
import (
"encoding/json"

View File

@ -1,4 +1,4 @@
package nsinit
package main
import (
"encoding/json"