Skip to content

Commit

Permalink
Appease the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
kimorris27 committed Nov 17, 2023
1 parent f32b7ad commit cc35b92
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/util/kubernetes/deployments_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func TestRestart(t *testing.T) {
if err == nil {
foundRestartAnnotation := false
if d.Spec.Template.Annotations != nil {
for a, _ := range d.Spec.Template.Annotations {
for a := range d.Spec.Template.Annotations {
if a == "kubectl.kubernetes.io/restartedAt" {
foundRestartAnnotation = true
break
Expand Down
1 change: 0 additions & 1 deletion test/util/serversideapply/serversideapply.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ func CliWithApply(objectTypes []string, object ...runtime.Object) *fake.Clientse
return false, nil, nil
},
)

}
return fc
}

0 comments on commit cc35b92

Please sign in to comment.