Address code review comments

Add some documentation.
Create new util.InitFlags() function to merge and parse in one step.
This commit is contained in:
Joe Beda
2015-01-14 14:59:55 -08:00
parent 1d0b6ee5f5
commit 6bd6b905f5
10 changed files with 36 additions and 17 deletions

View File

@@ -700,8 +700,7 @@ func TestPodHasServiceEnvVars(c *client.Client) bool {
}
func main() {
util.AddAllFlagsToPFlags()
flag.Parse()
util.InitFlags()
goruntime.GOMAXPROCS(goruntime.NumCPU())
util.ReallyCrash = true
util.InitLogs()