|
@ -72,7 +72,7 @@ kong_deploy() { |
|
|
response=$(_post "$content" "$KONG_URL/apis/$uuid/plugins/$ssl_uuid" "" "PATCH") |
|
|
response=$(_post "$content" "$KONG_URL/apis/$uuid/plugins/$ssl_uuid" "" "PATCH") |
|
|
fi |
|
|
fi |
|
|
if ! [ "$(echo "$response" | _egrep_o "ssl")" = "ssl" ]; then |
|
|
if ! [ "$(echo "$response" | _egrep_o "ssl")" = "ssl" ]; then |
|
|
_err "An error occured with cert upload. Check response:" |
|
|
|
|
|
|
|
|
_err "An error occurred with cert upload. Check response:" |
|
|
_err "$response" |
|
|
_err "$response" |
|
|
return 1 |
|
|
return 1 |
|
|
fi |
|
|
fi |
|
|