Skip to content

Commit d899400

Browse files
author
pqx
committed
修复kirk app host不能配置bug
1 parent f6eab73 commit d899400

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)