mirror of
https://github.com/docker/compose.git
synced 2025-07-22 21:24:38 +02:00
Adjust modules sync validating script
Signed-off-by: Laura Brehm <laurabrehm@hey.com>
This commit is contained in:
parent
c1f475d7bd
commit
4607dac19c
@ -80,7 +80,7 @@ done
|
|||||||
# containerd/containerd which we know will be different
|
# containerd/containerd which we know will be different
|
||||||
for k in "${!map_replaces_2[@]}"
|
for k in "${!map_replaces_2[@]}"
|
||||||
do
|
do
|
||||||
if [[ "${k}" == "github.com/containerd/containerd"* ]]; then
|
if [[ "${k}" == "github.com/docker/compose"* ]]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
if [ -v "map_replaces_1[$k]" ]; then
|
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
|
# same items are present in the second go.mod's replace section and nothing is missing
|
||||||
for k in "${!map_replaces_1[@]}"
|
for k in "${!map_replaces_1[@]}"
|
||||||
do
|
do
|
||||||
if [[ "${k}" == "github.com/containerd/containerd"* ]]; then
|
if [[ "${k}" == "github.com/docker/compose"* ]]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
if [ ! -v "map_replaces_2[$k]" ]; then
|
if [ ! -v "map_replaces_2[$k]" ]; then
|
||||||
@ -109,4 +109,4 @@ done
|
|||||||
if [ "$ERRORS" -ne 0 ]; then
|
if [ "$ERRORS" -ne 0 ]; then
|
||||||
echo "Found $ERRORS error(s)."
|
echo "Found $ERRORS error(s)."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user