Commit cd1717ea authored by andrewsykim's avatar andrewsykim

kubelet initial flag parse should normalize flags

parent ba535d57
...@@ -104,6 +104,7 @@ const ( ...@@ -104,6 +104,7 @@ const (
// NewKubeletCommand creates a *cobra.Command object with default parameters // NewKubeletCommand creates a *cobra.Command object with default parameters
func NewKubeletCommand() *cobra.Command { func NewKubeletCommand() *cobra.Command {
cleanFlagSet := pflag.NewFlagSet(componentKubelet, pflag.ContinueOnError) cleanFlagSet := pflag.NewFlagSet(componentKubelet, pflag.ContinueOnError)
cleanFlagSet.SetNormalizeFunc(flag.WordSepNormalizeFunc)
kubeletFlags := options.NewKubeletFlags() kubeletFlags := options.NewKubeletFlags()
kubeletConfig, err := options.NewKubeletConfiguration() kubeletConfig, err := options.NewKubeletConfiguration()
// programmer error // programmer error
......
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