Method: CloudFlock::App::Common#stop_watchdog
- Defined in:
- lib/cloudflock/app/common/servers.rb
#stop_watchdog(watchdog) ⇒ Object
Public: Stop a given watchdog, reporting on the status.
watchdog - Watchdog object to be stopped.
Returns nothing.
718 719 720 721 |
# File 'lib/cloudflock/app/common/servers.rb', line 718 def stop_watchdog(watchdog) UI.spinner("Stopping watchdog: #{watchdog.name}") { watchdog.stop } rescue Timeout::Error end |