Browse Source

fix: dev: [compose-core] remove useless code !minor

cache-relation
Valentin Lab 1 year ago
parent
commit
0330936bce
  1. 4
      bin/compose-core

4
bin/compose-core

@ -2112,10 +2112,6 @@ get_service_relations () {
printf "%s\0" "$rn" "$ts" "$rc" "$td" printf "%s\0" "$rn" "$ts" "$rc" "$td"
done < <(cat "$ALL_RELATIONS") > "$cache_file" done < <(cat "$ALL_RELATIONS") > "$cache_file"
if [ "$?" != 0 ]; then
rm -f "$cache_file" ## no cache
return 1
fi
cat "$cache_file" cat "$cache_file"
} }
export -f get_service_relations export -f get_service_relations

Loading…
Cancel
Save