From 6f6c0b86f134f5509ca6ffaf135d486616f9ff2d Mon Sep 17 00:00:00 2001 From: Sebastien Michel Date: Sun, 15 Dec 2024 18:18:55 +0100 Subject: [PATCH] fix: lint --- pkg/cloud/services/autoscaling/lifecyclehook_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/cloud/services/autoscaling/lifecyclehook_test.go b/pkg/cloud/services/autoscaling/lifecyclehook_test.go index 0dc80443cd..5aba913f64 100644 --- a/pkg/cloud/services/autoscaling/lifecyclehook_test.go +++ b/pkg/cloud/services/autoscaling/lifecyclehook_test.go @@ -122,8 +122,10 @@ func TestLifecycleHookNeedsUpdate(t *testing.T) { } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { + existing := tt.existing + expected := tt.expected g := NewWithT(t) - g.Expect(lifecycleHookNeedsUpdate(&tt.existing, &tt.expected)).To(Equal(tt.wantUpdate)) + g.Expect(lifecycleHookNeedsUpdate(&existing, &expected)).To(Equal(tt.wantUpdate)) }) } }