mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 12:07:47 +00:00
Changing annotate PrintFlags from annotate to annotated
This commit is contained in:
parent
31d0821ab4
commit
d6e488b998
@ -70,7 +70,7 @@ type AnnotateFlags struct {
|
|||||||
// NewAnnotateFlags returns a default AnnotateFlags
|
// NewAnnotateFlags returns a default AnnotateFlags
|
||||||
func NewAnnotateFlags(streams genericiooptions.IOStreams) *AnnotateFlags {
|
func NewAnnotateFlags(streams genericiooptions.IOStreams) *AnnotateFlags {
|
||||||
return &AnnotateFlags{
|
return &AnnotateFlags{
|
||||||
PrintFlags: genericclioptions.NewPrintFlags("annotate").WithTypeSetter(scheme.Scheme),
|
PrintFlags: genericclioptions.NewPrintFlags("annotated").WithTypeSetter(scheme.Scheme),
|
||||||
RecordFlags: genericclioptions.NewRecordFlags(),
|
RecordFlags: genericclioptions.NewRecordFlags(),
|
||||||
IOStreams: streams,
|
IOStreams: streams,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user