Skip to content

Commit

Permalink
apply changes of AWS Region info. about Zone
Browse files Browse the repository at this point in the history
  • Loading branch information
ByoungSeob Kim authored and ByoungSeob Kim committed Jul 3, 2020
1 parent ba4c994 commit c000398
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cloud-control-manager/CloudDriverHandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ func GetRegionNameByRegionInfo(rgnInfo *rim.RegionInfo) (string, string, error)
regionName = getValue(rgnInfo.KeyValueInfoList, "location")
case "AWS":
regionName = getValue(rgnInfo.KeyValueInfoList, "Region")
zoneName = getValue(rgnInfo.KeyValueInfoList, "Zone")
case "ALIBABA":
regionName = getValue(rgnInfo.KeyValueInfoList, "Region")
zoneName = getValue(rgnInfo.KeyValueInfoList, "Zone")
Expand Down

0 comments on commit c000398

Please sign in to comment.