Skip to content

Commit 3cf2b75

Browse files
Add unit tests for VPC LB integration (#851)
Signed-off-by: Prajyot-Parab <[email protected]> Signed-off-by: Prajyot-Parab <[email protected]>
1 parent ebad5b3 commit 3cf2b75

File tree

7 files changed

+1169
-328
lines changed

7 files changed

+1169
-328
lines changed

cloud/scope/cluster.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ func (s *ClusterScope) CreateLoadBalancer() (*vpcv1.LoadBalancer, error) {
410410
}
411411
options.Subnets = append(options.Subnets, subnet)
412412
} else {
413-
return nil, errors.Wrap(err, "Error subnet required for load balancer creation")
413+
return nil, fmt.Errorf("error subnet required for load balancer creation")
414414
}
415415

416416
options.SetPools([]vpcv1.LoadBalancerPoolPrototype{

0 commit comments

Comments
 (0)