Skip to content

Commit 7a6cc35

Browse files
carmal891Amulyam24
andauthored
Apply suggestions from code review
code review suggestions Co-authored-by: Amulya Meka <[email protected]>
1 parent 9c6bdf5 commit 7a6cc35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cloud/scope/powervs_cluster_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1156,7 +1156,7 @@ func TestReconcileLoadBalancers(t *testing.T) {
11561156

11571157
mockVpc.EXPECT().GetLoadBalancer(gomock.Any()).Return(&vpcv1.LoadBalancer{
11581158
ID: core.StringPtr("test-lb-instanceid"),
1159-
ProvisioningStatus: core.StringPtr("pending"),
1159+
ProvisioningStatus: core.StringPtr("update_pending"),
11601160
Name: core.StringPtr("test-lb"),
11611161
}, nil, nil)
11621162

@@ -1216,7 +1216,7 @@ func TestReconcileLoadBalancers(t *testing.T) {
12161216
},
12171217
}
12181218

1219-
mockVpc.EXPECT().GetLoadBalancerByName(gomock.Any()).Return(nil, errors.New("loadBalancer list returned is nil"))
1219+
mockVpc.EXPECT().GetLoadBalancerByName(gomock.Any()).Return(nil, errors.New("failed to get load balancer by name"))
12201220

12211221
requeue, err := clusterScope.ReconcileLoadBalancers()
12221222
g.Expect(requeue).To(BeFalse())

0 commit comments

Comments
 (0)