|
@ -193,7 +193,7 @@ _cloudhub_rest() { |
|
|
_debug response "$response" |
|
|
_debug response "$response" |
|
|
_debug _ret "$_ret" |
|
|
_debug _ret "$_ret" |
|
|
|
|
|
|
|
|
if [ "$_ret" = "0" ] && { [ "$http_code" -ge 200 ] && [ "$http_code" -le 299 ];}; then |
|
|
|
|
|
|
|
|
if [ "$_ret" = "0" ] && { [ "$http_code" -ge 200 ] && [ "$http_code" -le 299 ]; }; then |
|
|
printf "%s" "$response" |
|
|
printf "%s" "$response" |
|
|
return 0 |
|
|
return 0 |
|
|
else |
|
|
else |
|
|