From 26da880f54ddaddb02f6456342336dd348158f4e Mon Sep 17 00:00:00 2001 From: Shiming Zhang Date: Thu, 12 Oct 2023 17:57:29 +0800 Subject: [PATCH] Fix target sync (#408) --- hack/diff-image.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/diff-image.sh b/hack/diff-image.sh index 77659ef..8013f63 100755 --- a/hack/diff-image.sh +++ b/hack/diff-image.sh @@ -298,8 +298,8 @@ function main() { if [[ "${image1#*/}" =~ ":" ]]; then diff-image-with-tag "${image1}" "${image2}" >/dev/null || { if [[ "${SYNC}" == "true" ]]; then - echo "${SELF}: SYNCHRONIZE: synchronize from ${image1}:${tag} to ${image2}:${tag}" >&2 - copy-image "${image1}:${tag}" "${image2}:${tag}" + echo "${SELF}: SYNCHRONIZE: synchronize from ${image1} to ${image2}" >&2 + copy-image "${image1}" "${image2}" fi return $? }