Skip to content

Commit

Permalink
Merge pull request #37 from losinggeneration/fix_issue_28
Browse files Browse the repository at this point in the history
Fixes issue #28
  • Loading branch information
mreiferson committed Dec 8, 2014
2 parents 9fb6c1c + 1b39589 commit 6f3a231
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions statsdaemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ func submit(deadline time.Time) error {

now := time.Now().Unix()

if *graphiteAddress == "-" {
return nil
}

client, err := net.Dial("tcp", *graphiteAddress)
if err != nil {
if *debug {
Expand Down

0 comments on commit 6f3a231

Please sign in to comment.