Do not whine about complete failure when it is not.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7242d4004b
commit
68d972c812
@ -113,7 +113,10 @@ function mirror() {
|
|||||||
if ! get_image "${image}" "amd64"; then
|
if ! get_image "${image}" "amd64"; then
|
||||||
exitcode=$?
|
exitcode=$?
|
||||||
|
|
||||||
|
# Shit happened.
|
||||||
|
if [ ${exitcode} -eq 1 ]; then
|
||||||
echo "! Image mirroring failed! Cannot obtain amd64 image!"
|
echo "! Image mirroring failed! Cannot obtain amd64 image!"
|
||||||
|
fi
|
||||||
|
|
||||||
return ${exitcode}
|
return ${exitcode}
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user