lib/docker-provider/action/check_running.rb in docker-provider-0.0.2 vs lib/docker-provider/action/check_running.rb in docker-provider-0.1.0
- old
+ new
@@ -9,10 +9,10 @@
def call(env)
if env[:machine].state.id == :not_created
raise Vagrant::Errors::VMNotCreatedError
end
- if env[:machine].state.id == :created
+ if env[:machine].state.id == :stopped
raise Vagrant::Errors::VMNotRunningError
end
# Call the next if we have one (but we shouldn't, since this
# middleware is built to run with the Call-type middlewares)