sensu / sensu-go-graphite-handler

MIT License
4 stars 5 forks source link

It need to add ! on if config.PrefixSource #10

Closed madboxkr closed 3 years ago

madboxkr commented 4 years ago

https://github.com/nixwiz/sensu-go-graphite-handler/blob/57a309f63e312b16a412260fe9b53d44910eaa70/main.go#L117

if config.PrefixSource { ==> if !config.PrefixSource {

linke this https://github.com/nixwiz/sensu-go-graphite-handler/blob/57a309f63e312b16a412260fe9b53d44910eaa70/main.go#L114

jspaleta commented 3 years ago

Hey,

Are you sure this is necessary change? The logic looks correct to me right now.

madboxkr commented 3 years ago

Maybe I miss understand. :) I will close this.