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