lib/kamal/commands/app/cord.rb in kamal-1.4.0 vs lib/kamal/commands/app/cord.rb in kamal-1.5.0
- old
+ new
@@ -1,10 +1,10 @@
module Kamal::Commands::App::Cord
def cord(version:)
pipe \
docker(:inspect, "-f '{{ range .Mounts }}{{printf \"%s %s\\n\" .Source .Destination}}{{ end }}'", container_name(version)),
- [:awk, "'$2 == \"#{role.cord_volume.container_path}\" {print $1}'"]
+ [ :awk, "'$2 == \"#{role.cord_volume.container_path}\" {print $1}'" ]
end
def tie_cord(cord)
create_empty_file(cord)
end
@@ -15,8 +15,8 @@
private
def create_empty_file(file)
chain \
make_directory_for(file),
- [:touch, file]
+ [ :touch, file ]
end
end