Skip to content

Commit 0266fc5

Browse files
committed
test: fix linting issue
Signed-off-by: Jan Larwig <jan.larwig@digits.schwarz>
1 parent 6b2bebd commit 0266fc5

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎controller/stackitcluster_controller_test.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,7 @@ var _ = Describe("StackitCluster Controller", func() {
519519
expectCondition(got.Status.Conditions, infrav1.ClusterCredentialsReadyCondition, metav1.ConditionTrue, "Available")
520520
})
521521

522+
//nolint:dupl // Pause behavior must be verified independently for the cluster reconciler.
522523
It("does not call the cloud API when the owning Cluster is paused", func() {
523524
cluster := &clusterv1.Cluster{}
524525
Expect(k8sClient.Get(ctx, types.NamespacedName{Name: clusterName, Namespace: namespace}, cluster)).To(Succeed())

‎controller/stackitmachine_controller_test.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ var _ = Describe("StackitMachine Controller", func() {
250250
expectCondition(got.Status.Conditions, infrav1.MachineCredentialsReadyCondition, metav1.ConditionTrue, "Available")
251251
})
252252

253+
//nolint:dupl // Pause behavior must be verified independently for the machine reconciler.
253254
It("does not call the cloud API when the owning Cluster is paused", func() {
254255
cluster := &clusterv1.Cluster{}
255256
Expect(k8sClient.Get(ctx, types.NamespacedName{Name: clusterName, Namespace: namespace}, cluster)).To(Succeed())

0 commit comments

Comments
 (0)