provisioners/docker: style nitpicks

This commit is contained in:
Mitchell Hashimoto 2013-12-03 14:36:14 -08:00
parent 8d6cac959f
commit ecbd0bfa85
1 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ module VagrantPlugins
end
def run_container(config)
raise "Container's cidfile was not provided!" unless config[:cidfile]
raise "Container's cidfile was not provided!" if !config[:cidfile]
id = "$(cat #{config[:cidfile]})"
@ -55,7 +55,7 @@ module VagrantPlugins
end
def start_container(id)
unless container_running?(id)
if !container_running?(id)
@machine.communicate.sudo("docker start #{id}")
end
end