mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-20 01:23:48 +00:00
Merge pull request #84763 from hwdef/fix-staticcheck6
pkg/controller: fix staticcheck warning
This commit is contained in:
@@ -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++
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user