Browse Source

fix: [compose-core] exit after errors in relation config retrieval

cache-relation
Valentin Lab 10 months ago
parent
commit
0c4868ee5c
  1. 4
      bin/compose-core

4
bin/compose-core

@ -2685,7 +2685,7 @@ get_all_relations () {
_out_new_relation_from_defs "$service" "$relation_name" "$ts" \ _out_new_relation_from_defs "$service" "$relation_name" "$ts" \
"${providers_def[0]}" "$relation_def" \ "${providers_def[0]}" "$relation_def" \
>> "${cache_file}.wip"
>> "${cache_file}.wip" || return 1
## Adding service ## Adding service
[ "${services[$ts]}" ] && continue [ "${services[$ts]}" ] && continue
@ -2776,7 +2776,7 @@ get_all_relations () {
_out_new_relation_from_defs "$service" "$relation_name" "$ts" \ _out_new_relation_from_defs "$service" "$relation_name" "$ts" \
"${providers_def[0]}" "$relation_def" \ "${providers_def[0]}" "$relation_def" \
>> "${cache_file}.wip"
>> "${cache_file}.wip" || return 1
## Adding service ## Adding service
[ "${services[$ts]}" ] && continue [ "${services[$ts]}" ] && continue

Loading…
Cancel
Save