Method: VagrantPlugins::SimpleCloud::Actions::CheckState#call

Defined in:
lib/vagrant-simplecloud/actions/check_state.rb

#call(env) ⇒ Object



11
12
13
14
15
# File 'lib/vagrant-simplecloud/actions/check_state.rb', line 11

def call(env)
  env[:machine_state] = @machine.state.id
  @logger.info "Machine state is '#{@machine.state.id}'"
  @app.call(env)
end