Browse Source
fix deploy qiniu 400030 error
fix deploy qiniu 400030 error
Signed-off-by: Alan Zhu <zg.zhu@daocloud.io>
pull/2958/head
Alan
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
0 deletions
-
deploy/qiniu.sh
|
|
@ -77,6 +77,11 @@ qiniu_deploy() { |
|
|
export _H1="Authorization: QBox $update_access_token" |
|
|
export _H1="Authorization: QBox $update_access_token" |
|
|
update_response=$(_post "$update_body" "$QINIU_API_BASE$update_path" 0 "PUT" "application/json" | _dbase64 "multiline") |
|
|
update_response=$(_post "$update_body" "$QINIU_API_BASE$update_path" 0 "PUT" "application/json" | _dbase64 "multiline") |
|
|
|
|
|
|
|
|
|
|
|
if _contains "$update_response" "400030"; then |
|
|
|
|
|
_err "updating domain $domain code: 400030 " |
|
|
|
|
|
continue |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
if _contains "$update_response" "error"; then |
|
|
if _contains "$update_response" "error"; then |
|
|
_err "Error in updating domain $domain httpsconf:" |
|
|
_err "Error in updating domain $domain httpsconf:" |
|
|
_err "$update_response" |
|
|
_err "$update_response" |
|
|
|