Browse Source

fix: summon services requirement not to be ignored

Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
test1
Valentin Lab 5 years ago
parent
commit
58d227a704
  1. 4
      bin/compose-core

4
bin/compose-core

@ -2462,7 +2462,7 @@ get_all_relations () {
optional+=("$service" "$relation_name" "$relation_def")
;;
*)
err "Invalid ${WHITE}constraint${NORMAL} value '$contraint'."
err "Invalid ${WHITE}constraint${NORMAL} value '$constraint'."
return 1
;;
esac
@ -2505,7 +2505,7 @@ get_all_relations () {
## Adding service
[ "${services[$ts]}" ] && continue
array_read-0 new_services_uses < <(_get_services_uses "$ts")
array_read-0 services_uses < <(_get_services_uses "$ts")
services[$ts]=1
changed=1
done

Loading…
Cancel
Save