lib/takelage/docker/container/check/existing.rb in takelage-0.23.0 vs lib/takelage/docker/container/check/existing.rb in takelage-0.23.1
- old
+ new
@@ -5,10 +5,10 @@
# Backend method for docker container check existing.
# @return [Boolean] is container existing?
def docker_container_check_existing(container)
log.debug "Checking if container \"#{container}\" is existing"
- return false unless docker_check_running
+ return false unless docker_check_daemon
stdout_str = run _docker_container_cmd_check_existing container
if stdout_str.to_s.strip.empty?
log.debug "Container \"#{container}\" is not existing"