diff --git a/staging/src/k8s.io/kubectl/pkg/explain/formatter.go b/staging/src/k8s.io/kubectl/pkg/explain/formatter.go index 76ca017e47e..9f94f1206f4 100644 --- a/staging/src/k8s.io/kubectl/pkg/explain/formatter.go +++ b/staging/src/k8s.io/kubectl/pkg/explain/formatter.go @@ -122,7 +122,7 @@ func shouldStartNewLine(lastWord, str string) bool { return true } // preserve lines that look like they're starting lists - if bullet.MatchString(str) == true { + if bullet.MatchString(str) { return true } // otherwise combine