diff --git a/bin/compose-core b/bin/compose-core index f08377d..79822df 100755 --- a/bin/compose-core +++ b/bin/compose-core @@ -2693,16 +2693,14 @@ get_all_relations () { services[$ts]=1 changed=1 continue - elif [ "${#providers[@]}" -gt 1 ]; then + fi + if [ "${#providers[@]}" -gt 1 ]; then msg="" warn "No auto-pairing ${DARKYELLOW}$service${NORMAL}" \ "--${DARKBLUE}$relation_name${NORMAL}--> ($DARKYELLOW""${providers[@]}""$NORMAL)"\ "(> 1 provider)." - continue - else - if [ "$auto" == "summon" ]; then - summon+=("$service" "$relation_name" "$relation_def") - fi + elif [ "$auto" == "summon" ]; then ## no provider + summon+=("$service" "$relation_name" "$relation_def") fi ;; null|disable|disabled)