Method: Api::V2::DiscoveredHostsController#reboot_all
- Defined in:
- app/controllers/api/v2/discovered_hosts_controller.rb
#reboot_all ⇒ Object
214 215 216 217 218 219 220 221 222 223 224 225 |
# File 'app/controllers/api/v2/discovered_hosts_controller.rb', line 214 def reboot_all = perform_reboot_all if render_error :custom_error, :status => :unprocessable_entity, :locals => { :message => } else process_success :success_msg => _("Discovered hosts are rebooting now") end end |