Move container status check to so-common

This commit is contained in:
Jason Ertel
2020-08-31 09:52:06 -04:00
parent 8e06f0453e
commit 189c02648d
4 changed files with 19 additions and 25 deletions

View File

@@ -47,7 +47,7 @@ resp=$(curl -sk -XPOST -H "Authorization: Bearer $CORTEX_KEY" -H "Content-Type:
if [[ "$resp" =~ \"status\":\"Ok\" ]]; then
echo "Successfully added user to Cortex."
else
echo "Failed to add user to Cortex. See API response below."
echo "Failed to add user to Cortex."
exit 2
fi