Skip to content

Conversation

@dp0973
Copy link

@dp0973 dp0973 commented Dec 21, 2021

No description provided.

return None

def serverToRegion(server):
americas = ["br1", "la1", "la2", "na1", "oc1"]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oc1 should return 'sea', not americas

Suggested change
americas = ["br1", "la1", "la2", "na1", "oc1"]
sea = ["ph2", "sg2", "th2", "tw2", "vn2", "oc1"]
americas = ["br1", "la1", "la2", "na1"]

return "europe"
elif server in asia:
return "asia"
return None

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return None
elif server in sea:
return "sea"
return None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants