mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 00:52:55 +00:00
Automated changes under go 1.16.6
This commit is contained in:
@@ -21,14 +21,13 @@ import (
|
||||
func NewAnnotateRunner(parent string) *AnnotateRunner {
|
||||
r := &AnnotateRunner{}
|
||||
c := &cobra.Command{
|
||||
Use: "annotate [DIR]",
|
||||
Args: cobra.MaximumNArgs(1),
|
||||
Short: commands.AnnotateShort,
|
||||
Long: commands.AnnotateLong,
|
||||
Example: commands.AnnotateExamples,
|
||||
RunE: r.runE,
|
||||
Deprecated:
|
||||
"use the `commonAnnotations` field in your kustomization file.",
|
||||
Use: "annotate [DIR]",
|
||||
Args: cobra.MaximumNArgs(1),
|
||||
Short: commands.AnnotateShort,
|
||||
Long: commands.AnnotateLong,
|
||||
Example: commands.AnnotateExamples,
|
||||
RunE: r.runE,
|
||||
Deprecated: "use the `commonAnnotations` field in your kustomization file.",
|
||||
}
|
||||
runner.FixDocs(parent, c)
|
||||
r.Command = c
|
||||
|
||||
Reference in New Issue
Block a user