We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e0c79e5 + d899400 commit a039a63Copy full SHA for a039a63
qiniu/services/compute/app.py
@@ -36,7 +36,7 @@ def __init__(self, auth, host=None):
36
if (auth is None):
37
self.host = KIRK_HOST['APPPROXY']
38
else:
39
- self.host = KIRK_HOST['APPGLOBAL']
+ self.host = host or KIRK_HOST['APPGLOBAL']
40
acc, info = self.get_account_info()
41
self.uri = acc.get('name')
42
0 commit comments