Class: Wakame::Command::ReloadService

Inherits:
Object
  • Object
show all
Includes:
Wakame::Command
Defined in:
lib/wakame/command/reload_service.rb

Instance Method Summary collapse

Methods included from Wakame::Command

included, #options=, #params

Instance Method Details

#runObject



7
8
9
10
# File 'lib/wakame/command/reload_service.rb', line 7

def run
  svc = service_cluster.find_service(options['service_id'])
  trigger_action(Wakame::Actions::ReloadService.new(svc))
end