Skip to content

Commit 99b5fdf

Browse files
committed
test justin's patch in #16125
1 parent 483429d commit 99b5fdf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/kops/create_cluster.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -408,9 +408,9 @@ func NewCmdCreateCluster(f *util.Factory, out io.Writer) *cobra.Command {
408408
return []string{"json", "yaml"}, cobra.ShellCompDirectiveNoFileComp
409409
})
410410

411-
cmd.Flags().StringSliceVar(&options.Sets, "override", options.Sets, "Directly set values in the spec")
411+
cmd.Flags().StringArrayVar(&options.Sets, "override", options.Sets, "Directly set values in the spec")
412412
cmd.Flags().MarkDeprecated("override", "use --set instead")
413-
cmd.Flags().StringSliceVar(&options.Sets, "set", options.Sets, "Directly set values in the spec")
413+
cmd.Flags().StringArrayVar(&options.Sets, "set", options.Sets, "Directly set values in the spec")
414414
cmd.RegisterFlagCompletionFunc("set", func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
415415
return nil, cobra.ShellCompDirectiveNoFileComp
416416
})

0 commit comments

Comments
 (0)