Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sunny0826 committed Sep 14, 2023
1 parent 2c8d4b1 commit ff6f243
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions sky/clouds/service_catalog/data_fetchers/fetch_azure.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import pandas as pd
import requests

US_REGIONS = [
US_REGIONS = {
'centralus',
'eastus',
'eastus2',
Expand All @@ -24,7 +24,7 @@
'westus',
'westus2',
'westus3',
]
}

# Exclude the following regions as they do not have ProductName in the
# pricing table. Reference: #1768
Expand Down Expand Up @@ -263,8 +263,7 @@ def get_additional_columns(row):
if args.regions:
region_filter = set(args.regions) - EXCLUDED_REGIONS
elif args.all_regions:
region_filter = get_regions()
region_filter = set(region_filter) - EXCLUDED_REGIONS
region_filter = set(get_regions()) - EXCLUDED_REGIONS
else:
region_filter = US_REGIONS
region_filter = set(region_filter) - set(
Expand Down

0 comments on commit ff6f243

Please sign in to comment.