podman-peerjs : minor fix

This commit is contained in:
Gitouche 2021-06-04 19:37:41 +02:00
parent dc31107e18
commit 22990d5d4a

View file

@ -15,10 +15,10 @@ current_imageversion=$(podman container inspect -f '{{.ImageName}}' ${container_
if [[ "${upstream_imageversion}" == "${current_imageversion}" ]] ; then if [[ "${upstream_imageversion}" == "${current_imageversion}" ]] ; then
echo Container ${container_name} does not need rebuilding. Exiting. echo Container ${container_name} does not need rebuilding. Exiting.
exit 0 exit 0
else
echo Rebuilding container ${container_name} with image ${upstream_imageversion}
fi fi
echo Rebuilding container ${container_name} with image ${upstream_imageversion}
# pull first for minimal downtime # pull first for minimal downtime
podman pull ${upstream_imageversion} podman pull ${upstream_imageversion}