lib/takelage/docker/container/prune.rb in takelage-0.23.0 vs lib/takelage/docker/container/prune.rb in takelage-0.23.1
- old
+ new
@@ -4,10 +4,10 @@
module DockerContainerPrune
# Backend method for docker container prune.
def docker_container_prune
log.debug 'Removing orphaned docker containers'
- return false unless docker_check_running
+ return false unless docker_check_daemon
networks = _docker_container_prune_kill_orphaned_containers
_docker_container_lib_remove_networks networks
end