Method: A2::Subcommand::Infra::ShowNodeRun#execute
- Defined in:
- lib/a2/subcommands/infra.rb
#execute(node_id, run_id) ⇒ Object
77 78 79 80 81 82 |
# File 'lib/a2/subcommands/infra.rb', line 77 def execute(node_id, run_id) query_string = '' query_string = "?end_time=#{@opt[:end_time]}" if @opt[:end_time] puts JSON.pretty_generate(A2::Client.new(command_parser.data).show_node_run(node_id, run_id, query_string)) end |