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
parent
commit
d1290336e5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      deploy/qiniu.sh

5
deploy/qiniu.sh

@ -77,6 +77,11 @@ qiniu_deploy() {
export _H1="Authorization: QBox $update_access_token"
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
_err "Error in updating domain $domain httpsconf:"
_err "$update_response"

Loading…
Cancel
Save