Merge pull request #84763 from hwdef/fix-staticcheck6

pkg/controller: fix staticcheck warning
This commit is contained in:
Kubernetes Prow Robot
2019-11-07 09:05:17 -08:00
committed by GitHub
7 changed files with 6 additions and 22 deletions

View File

@@ -435,7 +435,7 @@ func TestDeploymentController_cleanupDeployment(t *testing.T) {
gotDeletions := 0
for _, action := range fake.Actions() {
if "delete" == action.GetVerb() {
if action.GetVerb() == "delete" {
gotDeletions++
}
}