Commit 176dbd19 authored by MANISH KUMAR's avatar MANISH KUMAR
Browse files

Merge branch 'users/arysingh/EntDataInitFix' into 'master'

Entitlements Data Init Agent: Fix exit condition in case of token fetch failure

See merge request !470
parents ea2cfa06 d23485d4
Pipeline #62186 passed with stages
in 1 minute and 13 seconds
......@@ -17,8 +17,8 @@ fi
echo "Trying to Fetch Access Token"
ACCESS_TOKEN=$(sh ./get_access_token.sh)
if [[ "$ACCESS_TOKEN" == "TOKEN_FETCH_FAILURE" ]]; then
echo "Failure fetching Access Token"
exit 1
currentStatus="failure"
currentMessage="${currentMessage}. Failure fetching Access Token. "
else
echo "Access Token fetched successfully."
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment