From 5b107f360b1df599de649c1115dda9b91ebfef8d Mon Sep 17 00:00:00 2001 From: tuxBurner Date: Tue, 12 Mar 2024 15:24:08 +0100 Subject: [PATCH] #1240 make the linter happy --- pkg/medusa/reconcile_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/medusa/reconcile_test.go b/pkg/medusa/reconcile_test.go index bcf953127..4fd2591ad 100644 --- a/pkg/medusa/reconcile_test.go +++ b/pkg/medusa/reconcile_test.go @@ -558,9 +558,9 @@ func TestStandaloneMedusaDeploymentImageSettings(t *testing.T) { desiredMedusaStandalone := StandaloneMedusaDeployment(*medusaContainer, "dc1", dcConfig.SanitizedName(), "test", logger, medusaSpec.ContainerImage) - assert.Equal(t, "main-secret", *&desiredMedusaStandalone.Spec.Template.Spec.ImagePullSecrets[0].Name, "expected standalone container image pull secret to be set") - assert.Equal(t, "reg1/repo1/img1:tag1", *&desiredMedusaStandalone.Spec.Template.Spec.Containers[0].Image, "expected standalone container image to be set to reg1/repo1/img1:tag1") - assert.Equal(t, corev1.PullAlways, *&desiredMedusaStandalone.Spec.Template.Spec.Containers[0].ImagePullPolicy, "expected standalone pull policy to be set to Always") + assert.Equal(t, "main-secret", desiredMedusaStandalone.Spec.Template.Spec.ImagePullSecrets[0].Name, "expected standalone container image pull secret to be set") + assert.Equal(t, "reg1/repo1/img1:tag1", desiredMedusaStandalone.Spec.Template.Spec.Containers[0].Image, "expected standalone container image to be set to reg1/repo1/img1:tag1") + assert.Equal(t, corev1.PullAlways, desiredMedusaStandalone.Spec.Template.Spec.Containers[0].ImagePullPolicy, "expected standalone pull policy to be set to Always") } func TestExternalSecretsFlag(t *testing.T) {