Merge pull request #13223 from Foxboron/morten/fix-annotation

create: Fix key=value annotation in the flag output
This commit is contained in:
OpenShift Merge Robot
2022-02-14 10:06:38 -05:00
committed by GitHub

View File

@ -36,7 +36,7 @@ func DefineCreateFlags(cmd *cobra.Command, cf *entities.ContainerCreateOptions,
createFlags.StringSliceVar( createFlags.StringSliceVar(
&cf.Annotation, &cf.Annotation,
annotationFlagName, []string{}, annotationFlagName, []string{},
"Add annotations to container (key:value)", "Add annotations to container (key=value)",
) )
_ = cmd.RegisterFlagCompletionFunc(annotationFlagName, completion.AutocompleteNone) _ = cmd.RegisterFlagCompletionFunc(annotationFlagName, completion.AutocompleteNone)