From c77e149243f8aab9d11853bef57c3ced089e25be Mon Sep 17 00:00:00 2001 From: Jim Date: Mon, 17 Oct 2016 11:34:07 -0400 Subject: [PATCH] change var naming to match helm --- cmd/tiller/tiller.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/tiller/tiller.go b/cmd/tiller/tiller.go index 92c2876f5..9dbbd31ae 100644 --- a/cmd/tiller/tiller.go +++ b/cmd/tiller/tiller.go @@ -68,10 +68,10 @@ var rootCommand = &cobra.Command{ } func main() { - pf := rootCommand.PersistentFlags() - pf.StringVarP(&grpcAddr, "listen", "l", ":44134", "address:port to listen on") - pf.StringVar(&store, "storage", storageConfigMap, "storage driver to use. One of 'configmap' or 'memory'") - pf.BoolVar(&enableTracing, "trace", false, "enable rpc tracing") + p := rootCommand.PersistentFlags() + p.StringVarP(&grpcAddr, "listen", "l", ":44134", "address:port to listen on") + p.StringVar(&store, "storage", storageConfigMap, "storage driver to use. One of 'configmap' or 'memory'") + p.BoolVar(&enableTracing, "trace", false, "enable rpc tracing") rootCommand.Execute() }