From f1e1da4ceb80e2040337891d8c0c1f3c693bef8e Mon Sep 17 00:00:00 2001 From: Soam Vasani Date: Sun, 11 Dec 2016 19:58:26 -0800 Subject: [PATCH] Bugfix in fission-bundle arg parsing --- fission-bundle/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) }