Skip to content

Commit

Permalink
format log message
Browse files Browse the repository at this point in the history
Signed-off-by: pjuarezd <[email protected]>
  • Loading branch information
pjuarezd committed Jul 6, 2024
1 parent 46d8713 commit 06fb335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared-functions/shared-code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function wait_resource_field_to_exist() {
# Interval in seconds between checks
INTERVAL=10

echo -e "${BLUE}Waiting for $resourcetype $fieldselector to be created (${TIMEOUT}s timeout)${NC}"
echo -e "${BLUE}Waiting for $resourcetype/$resourcename field '$fieldselector' to be created (${TIMEOUT}s timeout)${NC}"
while true; do
if kubectl get "$resourcetype" -n "$namespace" "$resourcename" -ojson | jq -e $fieldselector >/dev/null 2>&1; then
echo -e "${CHECK}$resourcetype/$resourcename field '$fieldselector' found."
Expand Down

0 comments on commit 06fb335

Please sign in to comment.