Commit c77e1492 authored by Jim's avatar Jim

change var naming to match helm

parent 29d0c339
...@@ -68,10 +68,10 @@ var rootCommand = &cobra.Command{ ...@@ -68,10 +68,10 @@ var rootCommand = &cobra.Command{
} }
func main() { func main() {
pf := rootCommand.PersistentFlags() p := rootCommand.PersistentFlags()
pf.StringVarP(&grpcAddr, "listen", "l", ":44134", "address:port to listen on") p.StringVarP(&grpcAddr, "listen", "l", ":44134", "address:port to listen on")
pf.StringVar(&store, "storage", storageConfigMap, "storage driver to use. One of 'configmap' or 'memory'") p.StringVar(&store, "storage", storageConfigMap, "storage driver to use. One of 'configmap' or 'memory'")
pf.BoolVar(&enableTracing, "trace", false, "enable rpc tracing") p.BoolVar(&enableTracing, "trace", false, "enable rpc tracing")
rootCommand.Execute() rootCommand.Execute()
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment