bin/instrument_server in instrumental_tools-0.1.0 vs bin/instrument_server in instrumental_tools-0.1.1

- old
+ new

@@ -244,10 +244,11 @@ end unless token puts "Usage: #{$0} <token> [collector]" exit 1 end -I = Instrumental::Agent.new(token, :collector => collector) +options = collector.nil? ? {} : { :collector => collector } +I = Instrumental::Agent.new(token, options) host = `hostname`.chomp puts "Collecting stats under the hostname: #{host}"