lib/uffizzi/services/compose_file_service.rb in uffizzi-cli-2.4.1 vs lib/uffizzi/services/compose_file_service.rb in uffizzi-cli-2.4.2
- old
+ new
@@ -33,10 +33,10 @@
config_files_attrs + host_volumes_attrs
end
def prepare_dependency_configs_files(dependency_file_paths, compose_file_dir)
dependency_file_paths.map do |dependency_file_path|
- dependency_file_content = Psych.load(File.read("#{compose_file_dir}/#{dependency_file_path}"))
+ dependency_file_content = File.read("#{compose_file_dir}/#{dependency_file_path}")
{
path: dependency_file_path,
source: dependency_file_path,
content: Base64.encode64(dependency_file_content),