lib/percheron/container/actions/stop.rb in percheron-0.2.3 vs lib/percheron/container/actions/stop.rb in percheron-0.2.4
- old
+ new
@@ -10,9 +10,10 @@
def execute!
if container.running?
$logger.debug "Stopping '#{container.name}'"
container.docker_container.stop!
else
+ $logger.debug "Not stopping '#{container.name}' container as it's not running"
raise Errors::ContainerNotRunning.new
end
end
private