fix static check in kubectl/pkg/cmd/annotate.
Kubernetes-commit: 303c1a40bcee81fe14845d2af9dae2073f86ec52
This commit is contained in:
parent
22c6d6a0c7
commit
08def252f7
|
@ -328,7 +328,7 @@ func validateAnnotations(removeAnnotations []string, newAnnotations map[string]s
|
|||
if modifyRemoveBuf.Len() > 0 {
|
||||
modifyRemoveBuf.WriteString(", ")
|
||||
}
|
||||
modifyRemoveBuf.WriteString(fmt.Sprintf(removeAnnotation))
|
||||
modifyRemoveBuf.WriteString(fmt.Sprint(removeAnnotation))
|
||||
}
|
||||
}
|
||||
if modifyRemoveBuf.Len() > 0 {
|
||||
|
|
Loading…
Reference in New Issue