Skip to content

Commit

Permalink
no need to test
Browse files Browse the repository at this point in the history
  • Loading branch information
Nox-404 committed Feb 6, 2024
1 parent b60d156 commit a8927ab
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scaleway/loadbalancers.go
Original file line number Diff line number Diff line change
Expand Up @@ -487,10 +487,7 @@ func (l *loadbalancers) getLoadbalancerByName(ctx context.Context, service *v1.S

lbReq := &scwlb.ZonedAPIListLBsRequest{
Name: &name,
}

if _, ok := service.Annotations[serviceAnnotationLoadBalancerZone]; ok {
lbReq.Zone = getLoadBalancerZone(service)
Zone: getLoadBalancerZone(service),
}

var loadbalancer *scwlb.LB
Expand Down

0 comments on commit a8927ab

Please sign in to comment.