provisioners/docker: style nitpick on unless

This commit is contained in:
Mitchell Hashimoto 2013-12-03 14:19:31 -08:00
parent dda7cbb412
commit d3b7bffc65
1 changed files with 1 additions and 3 deletions

View File

@ -25,9 +25,7 @@ module VagrantPlugins
# Attempt to start service if not running
@client.start_service
unless @client.daemon_running?
raise DockerError, :not_running
end
raise DockerError, :not_running if !@client.daemon_running?
if config.images.any?
@machine.ui.info(I18n.t("vagrant.docker_pulling_images"))