make kubectl factory flag binding optional

This commit is contained in:
deads2k
2015-01-20 17:07:36 -05:00
parent 6ff26d924c
commit 500bb3a7fa
4 changed files with 52 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ import (
)
func main() {
cmd := cmd.NewFactory().NewKubectlCommand(os.Stdout)
cmd := cmd.NewFactory(nil).NewKubectlCommand(os.Stdout)
if err := cmd.Execute(); err != nil {
os.Exit(1)
}