From d1290336e512b2438c84f576511eb656c5c81ee2 Mon Sep 17 00:00:00 2001 From: Alan Date: Sun, 24 May 2020 14:16:04 +0800 Subject: [PATCH] fix deploy qiniu 400030 error fix deploy qiniu 400030 error Signed-off-by: Alan Zhu --- deploy/qiniu.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/deploy/qiniu.sh b/deploy/qiniu.sh index 70669917..5736d31e 100644 --- a/deploy/qiniu.sh +++ b/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"