This commit is contained in:
thecantero 2017-04-27 20:38:08 +08:00 committed by GitHub
parent de3bac53bf
commit 4b02ee5b46
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ kong_deploy() {
_debug content "$content"
#Check if sslcreated (if not => POST else => PATCH)
if [ -z "$ssl_uuid" ]; then
if [ ! -z "$ssl_uuid" ]; then
#Post certificate to Kong
response=$(_post "$content" "$KONG_URL/certificates" "" "POST")
else