lib/kamal/commands/prune.rb in kamal-1.4.0 vs lib/kamal/commands/prune.rb in kamal-1.5.0
- old
+ new
@@ -24,11 +24,11 @@
docker :container, :prune, "--force", *healthcheck_service_filter
end
private
def stopped_containers_filters
- [ "created", "exited", "dead" ].flat_map { |status| ["--filter", "status=#{status}"] }
+ [ "created", "exited", "dead" ].flat_map { |status| [ "--filter", "status=#{status}" ] }
end
def active_image_list
# Pull the images that are used by any containers
# Append repo:latest - to avoid deleting the latest tag
@@ -41,6 +41,6 @@
end
def healthcheck_service_filter
[ "--filter", "label=service=#{config.healthcheck_service}" ]
end
- end
+end