diff --git a/fission-bundle/main.go b/fission-bundle/main.go index 59003a2b..26e06d97 100644 --- a/fission-bundle/main.go +++ b/fission-bundle/main.go @@ -87,6 +87,7 @@ Options: --etcdUrl= Etcd URL. --filepath= Directory to store functions in. --namespace= Kubernetes namespace in which to run function containers. Defaults to 'fission-function'. + --kubewatcher Start Kubernetes events watcher. ` arguments, err := docopt.Parse(usage, nil, true, "fission-bundle", false) if err != nil { @@ -115,7 +116,7 @@ Options: runPoolmgr(port, controllerUrl, namespace) } - if arguments["--kubewatcher"] != nil { + if arguments["--kubewatcher"] == true { runKubeWatcher(controllerUrl, routerUrl) }