Adjust modules sync validating script

Signed-off-by: Laura Brehm <laurabrehm@hey.com>
This commit is contained in:
Laura Brehm 2022-09-27 15:47:00 +02:00
parent c1f475d7bd
commit 4607dac19c
No known key found for this signature in database
GPG Key ID: 526E3FC49260D47A
1 changed files with 3 additions and 3 deletions

View File

@ -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