|
@ -2693,16 +2693,14 @@ get_all_relations () { |
|
|
services[$ts]=1 |
|
|
services[$ts]=1 |
|
|
changed=1 |
|
|
changed=1 |
|
|
continue |
|
|
continue |
|
|
elif [ "${#providers[@]}" -gt 1 ]; then |
|
|
|
|
|
|
|
|
fi |
|
|
|
|
|
if [ "${#providers[@]}" -gt 1 ]; then |
|
|
msg="" |
|
|
msg="" |
|
|
warn "No auto-pairing ${DARKYELLOW}$service${NORMAL}" \ |
|
|
warn "No auto-pairing ${DARKYELLOW}$service${NORMAL}" \ |
|
|
"--${DARKBLUE}$relation_name${NORMAL}--> ($DARKYELLOW""${providers[@]}""$NORMAL)"\ |
|
|
"--${DARKBLUE}$relation_name${NORMAL}--> ($DARKYELLOW""${providers[@]}""$NORMAL)"\ |
|
|
"(> 1 provider)." |
|
|
"(> 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 |
|
|
fi |
|
|
;; |
|
|
;; |
|
|
null|disable|disabled) |
|
|
null|disable|disabled) |
|
|