Skip to content

Commit

Permalink
fix the conditional since i cant get a repro locally working
Browse files Browse the repository at this point in the history
  • Loading branch information
jmhodges committed Jul 30, 2024
1 parent d5758c8 commit 7659ff5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func loadStatsd(conf configuration) (*statsd.Client, error) {
}

func (a *autographer) addStats(conf configuration) (err error) {
if conf.Statsd.Addr != "" {
if conf.Statsd.Addr == "" {
// a.stats is set to a safe value in newAutographer, so we leave it
// alone and return.
log.Infof("Statsd disabled as no `statsd.addr` address was provided in config")
Expand Down

0 comments on commit 7659ff5

Please sign in to comment.