Skip to content

Commit

Permalink
Merge pull request #250 from balena-io/ab77/operational
Browse files Browse the repository at this point in the history
deprecate registry hostname
  • Loading branch information
ab77 authored Dec 13, 2023
2 parents 0d47b50 + 67babb6 commit b83f603
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-hc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set -a
# avahi-resolve doesn't return non-zero error code on failure :/
for host in $(env \
| grep -E "^[A-Z0-9_]+_HOST=.*\.${MDNS_TLD}$|^[A-Z0-9_]+_HOSTNAME=.*\.${MDNS_TLD}$" \
| grep -Ev 'BALENA|registry\.|files\.' \
| grep -Ev 'BALENA|files\.' \
| sed 's|http.*://||g'); do
avahi-resolve -n4 $(echo ${host} | awk -F'=' '{print $2}') 2>&1 | grep -vE 'Failed|Timeout' || exit $?
done
Expand Down

0 comments on commit b83f603

Please sign in to comment.