Fix mauvaises fonctions - ne fonctionnait pas!!
This commit is contained in:
parent
e050db8e6e
commit
18678904f1
|
@ -181,7 +181,7 @@ ensure_container_not_exists () {
|
||||||
|
|
||||||
# check: container ${1} is running?
|
# check: container ${1} is running?
|
||||||
check_container_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
|
# ok if container is running
|
||||||
|
@ -231,7 +231,7 @@ ensure_pod_not_exists () {
|
||||||
|
|
||||||
# check: pod ${1} is running?
|
# check: pod ${1} is running?
|
||||||
check_pod_running () {
|
check_pod_running () {
|
||||||
[[ "podman pod inspect -f '{{.State}}' ${1}" == "Running" ]]
|
[[ `podman pod inspect -f '{{.State}}' ${1}` == "Running" ]]
|
||||||
}
|
}
|
||||||
|
|
||||||
# ok if pod is running
|
# ok if pod is running
|
||||||
|
|
Loading…
Reference in a new issue