Skip to content

Commit

Permalink
Return all the available zones for customer machine types
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 465119074
  • Loading branch information
tohaowu authored and copybara-github committed Aug 3, 2022
1 parent 4d6d165 commit 877aa39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perfkitbenchmarker/providers/gcp/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def GetZonesFromMachineType(machine_type: str) -> Set[str]:
'format': 'value(zone)'
}
stdout, _, _ = cmd.Issue()
return set(stdout.splitlines())
return set(stdout.splitlines()) or GetAllZones()


def GetGeoFromRegion(region: str) -> str:
Expand Down

0 comments on commit 877aa39

Please sign in to comment.