fix syntax

This commit is contained in:
temoffey committed 2019-03-20 14:05:18 +03:00
1 parent 95cdb4b2bc
commit 89989adcad
1 file changed
+2 -2
+2 -2
View File
@@ -65,7 +65,7 @@ gcore_cdn_deploy() {
_debug _response "$_response" _debug _response "$_response"
_token=$(echo "$_response" | jq -r '.token') _token=$(echo "$_response" | jq -r '.token')
_debug _token "$_token" _debug _token "$_token"
if [ "$_token" = "null" ]; then if [ "$_token" = "null" ]; then
_err "Error G-Core Labs API authorization" _err "Error G-Core Labs API authorization"
return 1 return 1
@@ -97,7 +97,7 @@ gcore_cdn_deploy() {
_sslDataAdd=$(echo "$_response" | jq -r '.id') _sslDataAdd=$(echo "$_response" | jq -r '.id')
_debug _sslDataAdd "$_sslDataAdd" _debug _sslDataAdd "$_sslDataAdd"
if [ "$_sslDataAdd" == "null" ]; then if [ "$_sslDataAdd" = "null" ]; then
_err "Error new SSL certificate add" _err "Error new SSL certificate add"
return 1 return 1
fi fi
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.