bin/hbc in heartbeat-client-0.2.5 vs bin/hbc in heartbeat-client-0.3.0
- old
+ new
@@ -18,10 +18,10 @@
end
if ARGV and ARGV.size == 1
Daemons.run_proc('heartbeat-client.rb') do
loop do
- Heartbeat.create(@config['apikey'], @config['name'])
+ Heartbeat.create(@config['apikey'], @config['endpoint'], @config['name'])
sleep(30)
end
end
else
puts "Please provide a command to hbc (start|stop|run)!"