Browse Source

fix: dev: filter running containers on the ``master-service`` tag

Actually other tag for subordinates are useless.

Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
cache-relation 1.5.0
Valentin Lab 4 years ago
parent
commit
79744ae283
  1. 2
      bin/compose-core

2
bin/compose-core

@ -986,7 +986,7 @@ export -f docker_add_host_declaration
get_running_containers_for_service() {
local service="$1"
docker ps --filter label="compose.service=$service" --format="{{.ID}}"
docker ps --filter label="compose.master-service=$service" --format="{{.ID}}"
}
export -f get_running_containers_for_service

|||||||
100:0
Loading…
Cancel
Save