Changing annotate PrintFlags from annotate to annotated

Kubernetes-commit: d6e488b998effbda9675d4dc3d297a142a4079f7
This commit is contained in:
adil ghaffar 2023-05-16 14:39:15 +03:00 committed by Kubernetes Publisher
parent 27ec3dafa6
commit 76565cfba8
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ type AnnotateFlags struct {
// NewAnnotateFlags returns a default AnnotateFlags
func NewAnnotateFlags(streams genericiooptions.IOStreams) *AnnotateFlags {
return &AnnotateFlags{
PrintFlags: genericclioptions.NewPrintFlags("annotate").WithTypeSetter(scheme.Scheme),
PrintFlags: genericclioptions.NewPrintFlags("annotated").WithTypeSetter(scheme.Scheme),
RecordFlags: genericclioptions.NewRecordFlags(),
IOStreams: streams,
}