Method: NewRelic::Agent::Commands::AgentCommandRouter#check_for_and_handle_agent_commands
- Defined in:
- lib/new_relic/agent/commands/agent_command_router.rb
#check_for_and_handle_agent_commands ⇒ Object
42 43 44 45 46 47 |
# File 'lib/new_relic/agent/commands/agent_command_router.rb', line 42 def check_for_and_handle_agent_commands commands = get_agent_commands results = invoke_commands(commands) new_relic_service.agent_command_results(results) unless results.empty? end |