|
@ -2611,7 +2611,8 @@ get_all_relations () { |
|
|
return 1 |
|
|
return 1 |
|
|
;; |
|
|
;; |
|
|
esac |
|
|
esac |
|
|
constraint=$(echo "$relation_def" | shyaml get-value constraint optional 2>/dev/null) |
|
|
|
|
|
|
|
|
constraint=$(echo "$relation_def" | shyaml get-value constraint 2>/dev/null) |
|
|
|
|
|
constraint=${constraint:-optional} |
|
|
case "$constraint" in |
|
|
case "$constraint" in |
|
|
"required") |
|
|
"required") |
|
|
required+=("$service" "$relation_name" "$relation_def") |
|
|
required+=("$service" "$relation_name" "$relation_def") |
|
|