Merge pull request #69866 from xichengliudui/fix181016
Remove duplicate words
This commit is contained in:
@@ -245,7 +245,7 @@ func (o AnnotateOptions) RunAnnotate() error {
|
||||
|
||||
// only apply resource version locking on a single resource.
|
||||
// we must perform this check after o.builder.Do() as
|
||||
// []o.resources can not not accurately return the proper number
|
||||
// []o.resources can not accurately return the proper number
|
||||
// of resources when they are not passed in "resource/name" format.
|
||||
if !singleItemImpliedResource && len(o.resourceVersion) > 0 {
|
||||
return fmt.Errorf("--resource-version may only be used with a single resource")
|
||||
|
Reference in New Issue
Block a user