Skip to content

Commit a039a63

Browse files
authored
Merge pull request #245 from ee0703/master
修复kirk app host不能配置bug
2 parents e0c79e5 + d899400 commit a039a63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qiniu/services/compute/app.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def __init__(self, auth, host=None):
3636
if (auth is None):
3737
self.host = KIRK_HOST['APPPROXY']
3838
else:
39-
self.host = KIRK_HOST['APPGLOBAL']
39+
self.host = host or KIRK_HOST['APPGLOBAL']
4040
acc, info = self.get_account_info()
4141
self.uri = acc.get('name')
4242

0 commit comments

Comments
 (0)