lib/takelage/docker/check/module.rb in takelage-0.11.0 vs lib/takelage/docker/check/module.rb in takelage-0.11.1

- old
+ new

@@ -2,10 +2,12 @@ module DockerCheckModule # Backend method for docker check running. # @return [Boolean] is the docker daemon running? def docker_check_running + return true if @docker_daemon_running + log.debug "Check if the docker daemon is running" cmd_docker_info = config.active['cmd_docker_check_running_docker_info'] @@ -15,8 +17,9 @@ log.error "The docker daemon is not running" return false end log.debug "The docker daemon is running" + @docker_daemon_running = true true end end