chore(go): upgrading to 1.24 (#766)

* chore(go): upgrading to 1.24

Signed-off-by: Dario Tranchitella <dario@tranchitella.eu>

* chore(ci): building golanci-lint from source

* chore(golangci-lint): aligning to v2 release

Signed-off-by: Dario Tranchitella <dario@tranchitella.eu>

---------

Signed-off-by: Dario Tranchitella <dario@tranchitella.eu>
This commit is contained in:
Dario Tranchitella
2025-04-01 21:09:46 +02:00
committed by GitHub
parent 0f3de13d26
commit b2ec531183
9 changed files with 84 additions and 59 deletions

View File

@@ -28,7 +28,7 @@ var _ = Describe("DatastoreStorageConfig", func() {
)
BeforeEach(func() {
ctx = context.Background() //nolint:fatcontext
ctx = context.Background()
tcp = &kamajiv1alpha1.TenantControlPlane{
ObjectMeta: metav1.ObjectMeta{

View File

@@ -42,7 +42,7 @@ var _ = Describe("TCP Defaulting Webhook", func() {
},
},
}
ctx = context.Background() //nolint:fatcontext
ctx = context.Background()
})
Describe("fields missing", func() {

View File

@@ -31,7 +31,7 @@ var _ = Describe("TCP LoadBalancer Source Ranges Webhook", func() {
},
Spec: kamajiv1alpha1.TenantControlPlaneSpec{},
}
ctx = context.Background() //nolint:fatcontext
ctx = context.Background()
})
It("allows creation when valid CIDR ranges are provided", func() {