fix static check in kubectl/pkg/cmd/annotate.

Kubernetes-commit: 303c1a40bcee81fe14845d2af9dae2073f86ec52
This commit is contained in:
Haosdent Huang 2019-12-08 23:25:50 +08:00 committed by Kubernetes Publisher
parent 22c6d6a0c7
commit 08def252f7
1 changed files with 1 additions and 1 deletions

View File

@ -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 {