Skip to content

Commit

Permalink
fix fn call
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam-D-Lewis committed Mar 29, 2024
1 parent b2dbbd9 commit 082cc41
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/_nebari/stages/infrastructure/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,7 @@ class GoogleCloudPlatformProvider(schema.Base):
@classmethod
def _check_input(cls, data: Any) -> Any:
google_cloud.check_credentials()
avaliable_regions = google_cloud.regions(data["project"])
print(avaliable_regions)
avaliable_regions = google_cloud.regions()
if data["region"] not in avaliable_regions:
raise ValueError(
f"Google Cloud region={data['region']} is not one of {avaliable_regions}"
Expand Down

0 comments on commit 082cc41

Please sign in to comment.