Skip to content
This repository has been archived by the owner on Jun 16, 2019. It is now read-only.

Commit

Permalink
Fix SimpleSend examples in Readme by surrounding values with quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
wellle committed Feb 27, 2014
1 parent 9432a11 commit ecc1373
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ func init() {
}

log.Printf("Loaded Graphite connection: %#v", Graphite)
Graphite.SimpleSend("stats.graphite_loaded", 1)
Graphite.SimpleSend("stats.graphite_loaded", "1")
}

func doWork() {
// this will work just fine, regardless of if you're working with a graphite
// nop or not
Graphite.SimpleSend("stats.doing_work", 1)
Graphite.SimpleSend("stats.doing_work", "1")
}
```

Expand Down

0 comments on commit ecc1373

Please sign in to comment.