Skip to content

Commit 346e020

Browse files
committed
fix golangci-lint
1 parent c6d0d85 commit 346e020

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

internal/controllers/storage/controller_test.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -265,11 +265,7 @@ var _ = Describe("Storage controller medium tests", func() {
265265
Name: testobjects.StorageName,
266266
Namespace: testobjects.YdbNamespace,
267267
}, &foundStorage))
268-
foundStorage.Spec.Secrets = []*corev1.LocalObjectReference{
269-
&corev1.LocalObjectReference{
270-
Name: v1alpha1.AuthTokenSecretName,
271-
},
272-
}
268+
foundStorage.Spec.Secrets = []*corev1.LocalObjectReference{&corev1.LocalObjectReference{Name: v1alpha1.AuthTokenSecretName}}
273269
return k8sClient.Update(ctx, &foundStorage)
274270
}, test.Timeout, test.Interval).ShouldNot(HaveOccurred())
275271

0 commit comments

Comments
 (0)