Skip to content

Commit e64755f

Browse files
committed
fix(BREV-2823): Remove hardcoded sfc locations
1 parent f9f66f3 commit e64755f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

v1/providers/sfcompute/instancetype.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,7 @@ func (c *SFCClient) getZones(ctx context.Context, includeUnavailable bool) ([]sf
183183

184184
zones := make([]sfcnodes.ZoneListResponseData, 0, len(resp.Data))
185185
for _, zone := range resp.Data {
186-
187-
// If the there is no available capacity, and skip it
186+
// If the there is no available capacity, skip it
188187
if len(zone.AvailableCapacity) == 0 && !includeUnavailable {
189188
continue
190189
}

0 commit comments

Comments
 (0)