From 4607dac19c55a7c9a0f7a096806d2badae7c6bfe Mon Sep 17 00:00:00 2001 From: Laura Brehm Date: Tue, 27 Sep 2022 15:47:00 +0200 Subject: [PATCH] Adjust modules sync validating script Signed-off-by: Laura Brehm --- verify-go-modules.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/verify-go-modules.sh b/verify-go-modules.sh index 98cb17a79..beb7ff000 100755 --- a/verify-go-modules.sh +++ b/verify-go-modules.sh @@ -80,7 +80,7 @@ done # containerd/containerd which we know will be different for k in "${!map_replaces_2[@]}" do - if [[ "${k}" == "github.com/containerd/containerd"* ]]; then + if [[ "${k}" == "github.com/docker/compose"* ]]; then continue fi if [ -v "map_replaces_1[$k]" ]; then @@ -96,7 +96,7 @@ done # same items are present in the second go.mod's replace section and nothing is missing for k in "${!map_replaces_1[@]}" do - if [[ "${k}" == "github.com/containerd/containerd"* ]]; then + if [[ "${k}" == "github.com/docker/compose"* ]]; then continue fi if [ ! -v "map_replaces_2[$k]" ]; then @@ -109,4 +109,4 @@ done if [ "$ERRORS" -ne 0 ]; then echo "Found $ERRORS error(s)." exit 1 -fi \ No newline at end of file +fi