Fix mauvaises fonctions - ne fonctionnait pas!!

This commit is contained in:
Gitouche 2021-10-23 10:51:40 +02:00
parent e050db8e6e
commit 18678904f1
1 changed files with 2 additions and 2 deletions

View File

@ -181,7 +181,7 @@ ensure_container_not_exists () {
# check: container ${1} is running?
check_container_running () {
[[ "podman container inspect -f '{{.State.Status}}' ${1}" == "running" ]]
[[ `podman container inspect -f '{{.State.Status}}' ${1}` == "running" ]]
}
# ok if container is running
@ -231,7 +231,7 @@ ensure_pod_not_exists () {
# check: pod ${1} is running?
check_pod_running () {
[[ "podman pod inspect -f '{{.State}}' ${1}" == "Running" ]]
[[ `podman pod inspect -f '{{.State}}' ${1}` == "Running" ]]
}
# ok if pod is running