Skip to content

Commit

Permalink
Fix ApplyTemplate change in graphite parser
Browse files Browse the repository at this point in the history
  • Loading branch information
sparrc committed Oct 16, 2015
1 parent b15928c commit b28b4bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/statsd/statsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ func (s *Statsd) parseName(bucket string) (string, map[string]string) {
name := bucketparts[0]
p, err := graphite.NewParserWithOptions(o)
if err == nil {
name, tags = p.ApplyTemplate(name)
name, tags, _, _ = p.ApplyTemplate(name)
}
name = strings.Replace(name, ".", "_", -1)
name = strings.Replace(name, "-", "__", -1)
Expand Down

0 comments on commit b28b4bd

Please sign in to comment.