We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
reset_iks_api_key.sh
1 parent 3ac5ced commit 2c98ea7Copy full SHA for 2c98ea7
scripts/reset_iks_api_key.sh
@@ -88,7 +88,7 @@ if [ "${reset}" == true ]; then
88
status_code=$(echo "$result" | head -n 1 | cut -d$' ' -f2)
89
fi
90
91
- if [ "${status_code}" == "204" ]; then
+ if [ "${status_code}" == "204" ] || [ "${status_code}" == "200" ]; then
92
echo "The IAM API key is successfully reset."
93
else
94
echo "ERROR:: FAILED TO RESET THE IAM API KEY"
0 commit comments