Skip to content

Commit

Permalink
Merge pull request #13 from dipthegeezer/master
Browse files Browse the repository at this point in the history
Use correct metrics arg in agent creation.
  • Loading branch information
gorsuch committed Aug 26, 2014
2 parents e1f2efa + 1704218 commit 7d8676b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func main() {
case <-timer.C:
if curID < agents {
if spawnAgents {
go launchAgent(curID, agents, flushInterval, carbon, prefix)
go launchAgent(curID, metrics, flushInterval, carbon, prefix)
log.Printf("agent %d: launched\n", curID)
curID++

Expand Down

0 comments on commit 7d8676b

Please # to comment.