From 58d227a704f15b38bc800a5dbd44fb403bd519c2 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Fri, 15 Nov 2019 16:59:16 +0100 Subject: [PATCH] fix: summon services requirement not to be ignored Signed-off-by: Valentin Lab --- bin/compose-core | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/compose-core b/bin/compose-core index 98f3163..a9fd213 100755 --- a/bin/compose-core +++ b/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