lib/percheron/actions/purge.rb in percheron-0.7.13 vs lib/percheron/actions/purge.rb in percheron-0.7.14
- old
+ new
@@ -29,10 +29,10 @@
unit.image_exists? && unit.buildable?
end
def delete_unit!
return nil unless unit.exists?
- $logger.info "Deleting '#{unit.name}' unit"
+ $logger.info "Deleting '#{unit.display_name}' unit"
unit.container.remove(force: force)
rescue Docker::Error::ConflictError => e
$logger.error "Unable to delete '%s' unit - %s" % [ unit.name, e.inspect ]
end