.
This commit is contained in:
@@ -196,6 +196,10 @@ wait_for_healthy() {
|
||||
done
|
||||
}
|
||||
|
||||
format_hash() {
|
||||
echo "$1" | sed 's/./&\u200B/g'
|
||||
}
|
||||
|
||||
get_remote_digest() {
|
||||
local image="$1"
|
||||
|
||||
@@ -466,6 +470,8 @@ while IFS= read -r -d '' file; do
|
||||
fi
|
||||
|
||||
if [ "$NTFY_SHOW_VERSIONS" = true ]; then
|
||||
before=$(format_hash "$before")
|
||||
after=$(format_hash "$after")
|
||||
stack_block+=$'\n'"$prefix $svc ($before → $after)"
|
||||
else
|
||||
stack_block+=$'\n'"$prefix $svc"
|
||||
|
||||
Reference in New Issue
Block a user