Skip to content

Commit

Permalink
fix: update made to the reset_iks_api_key.sh script to pass when a …
Browse files Browse the repository at this point in the history
…200 status code is returned from api (#586)
  • Loading branch information
Aashiq-J authored Jan 29, 2025
1 parent 3ac5ced commit 2c98ea7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/reset_iks_api_key.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ if [ "${reset}" == true ]; then
status_code=$(echo "$result" | head -n 1 | cut -d$' ' -f2)
fi

if [ "${status_code}" == "204" ]; then
if [ "${status_code}" == "204" ] || [ "${status_code}" == "200" ]; then
echo "The IAM API key is successfully reset."
else
echo "ERROR:: FAILED TO RESET THE IAM API KEY"
Expand Down

0 comments on commit 2c98ea7

Please sign in to comment.