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