lib/vagrant-g5k/action/run_instance.rb in vagrant-g5k-0.0.10 vs lib/vagrant-g5k/action/run_instance.rb in vagrant-g5k-0.0.11

- old
+ new

@@ -22,13 +22,17 @@ end def recover(env) return if env["vagrant.error"].is_a?(Vagrant::Errors::VagrantError) - if env[:machine].provider.state.id != :not_created + if ![:not_created, :shutdown].include?(env[:machine].provider.state.id) # Undo the import terminate(env) end + end + + def terminate(env) + @logger.info("Terminate the machine") end end end end