Skip to content

Commit

Permalink
This commit will change the success label for a 404 (#53)
Browse files Browse the repository at this point in the history
* This commit will change the success label for a 404 return to a yellow warning.

* removing double echo
  • Loading branch information
tonyxrmdavidson authored Apr 23, 2024
1 parent 33dc210 commit 5eca863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openshift-ci/scripts/oci-model-registry-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ check_route_status() {
echo -e "${GREEN}✔ Success:${NC} Route server is reachable. Status code: 200 OK"
return 0
elif [[ "$response" == "404" ]]; then
echo -e "${GREEN}✔ Success:${NC} Route server is reachable. Status code: 404 Not Found"
echo -e "${YELLOW}! WARNING:${NC} Route server is reachable, but service is not. Status code: 404 Not Found"
return 0
else
echo -e "${RED}X Error:${NC} Route server is unreachable. Status code: $response"
Expand Down

0 comments on commit 5eca863

Please sign in to comment.