From d055b7e699fc62afb4094f6f87a7e4ccac41f4b8 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Thu, 1 Oct 2020 11:40:52 +0200 Subject: [PATCH] fix: `tech-dep` could be mis-read and generate unwanted dependency loops Signed-off-by: Valentin Lab --- bin/compose-core | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/compose-core b/bin/compose-core index bb4d000..1cc1440 100755 --- a/bin/compose-core +++ b/bin/compose-core @@ -2424,6 +2424,7 @@ get_all_relations () { service_list=() array_read-0 service_list < <(array_keys_to_stdin services) providers=() + providers_def=() array_read-0 providers providers_def < <(_get_services_providing "$relation_name" "${service_list[@]}") if [ "${#providers[@]}" == 1 ]; then ts="${providers[0]}"