Skip to content

Commit 741bc64

Browse files
committed
add nolint comments
1 parent 0f82280 commit 741bc64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/k8s/init_image.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ func InitImage(ctx context.Context, cl client.Reader, cr *apiv1alpha1.PerconaSer
7070
if image := cr.Spec.InitContainer.Image; len(image) > 0 {
7171
return image, nil
7272
}
73-
if cr.CompareVersion("0.12.0") < 0 && cr.Spec.InitImage == "" {
74-
return cr.Spec.InitImage, nil
73+
if cr.CompareVersion("0.12.0") < 0 && cr.Spec.InitImage == "" { //nolint:staticcheck
74+
return cr.Spec.InitImage, nil //nolint:staticcheck
7575
}
7676
return OperatorImage(ctx, cl)
7777
}

0 commit comments

Comments
 (0)