lib/scout/command/test.rb in scout-5.5.7 vs lib/scout/command/test.rb in scout-5.5.8.pre

- old
+ new

@@ -43,10 +43,10 @@ puts "== Running plugin with: #{options_for_run.to_a.map{|a| "#{a.first}=#{a.last}"}.join('; ') }" else puts "== You haven't provided any options for running this plugin." end - Scout::Server.new(nil, nil, history, log, @http_proxy, @https_proxy) do |scout| + Scout::Server.new(nil, nil, history, log, server_name, @http_proxy, @https_proxy) do |scout| scout.prepare_checkin scout.process_plugin( 'interval' => 0, 'plugin_id' => 1, 'name' => "Local Plugin", 'code' => plugin_code,