Method: NCC::Connection#reboot
- Defined in:
- lib/ncc/connection.rb
#reboot(instance_id) ⇒ Object
610 611 612 613 614 615 616 617 |
# File 'lib/ncc/connection.rb', line 610 def reboot(instance_id) server = do_fog { |fog| fog.servers.get(instance_id) } if server.nil? instance_not_found instance_id else server.reboot end end |