Skip to content

Commit b37ef74

Browse files
Update internal/clouds/general/location.go
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 975d05e commit b37ef74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/clouds/general/location.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func NormalizeLocation(
5757
return region, zone, nil
5858
}
5959
l.Warnf("Unknown cloud provider: %s", cloudProvider)
60-
return location, location, nil
60+
return "", "", fmt.Errorf("unknown cloud provider: %s", cloudProvider)
6161
}
6262

6363
// ParseRegionZone takes either a region (e.g., us-east-1) or zone (e.g., us-east-1a)

0 commit comments

Comments
 (0)