Skip to content

Commit bf6e61f

Browse files
fix: lint issues for container clusters reconcile tests
1 parent 59e5ba3 commit bf6e61f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cloud/services/container/clusters/reconcile_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ var _ = Describe("ManagedControlPlaneScope Reconcile", func() {
103103
}
104104
mockInternalClusterManagerClient.EXPECT().GetCluster(ctx, getClusterRequest).Return(nil, nil).Times(1)
105105

106-
testManagedControlPlaneScope, err := cloudScope.NewMockManagedControlPlaneScope(ctx, cloudScope.ManagedControlPlaneScopeParams{
106+
testManagedControlPlaneScope, _ := cloudScope.NewMockManagedControlPlaneScope(ctx, cloudScope.ManagedControlPlaneScopeParams{
107107
Client: fakec,
108108
Cluster: fakeCluster,
109109
GCPManagedCluster: fakeGCPManagedCluster,
@@ -115,7 +115,6 @@ var _ = Describe("ManagedControlPlaneScope Reconcile", func() {
115115
result, err := reconcile.Reconcile(ctx)
116116

117117
Expect(result).To(Equal(ctrl.Result{}))
118-
Expect(err).NotTo(BeNil())
119118
Expect(err).To(Equal(ErrGCPManagedClusterHasNoNetworkDefined))
120119
})
121120
})

0 commit comments

Comments
 (0)