We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 975d05e commit b37ef74Copy full SHA for b37ef74
internal/clouds/general/location.go
@@ -57,7 +57,7 @@ func NormalizeLocation(
57
return region, zone, nil
58
}
59
l.Warnf("Unknown cloud provider: %s", cloudProvider)
60
- return location, location, nil
+ return "", "", fmt.Errorf("unknown cloud provider: %s", cloudProvider)
61
62
63
// ParseRegionZone takes either a region (e.g., us-east-1) or zone (e.g., us-east-1a)
0 commit comments