Commit f07b2ac4 by bergquist

fix(metrics): hide none existing metrics settings

parent da6ac07b
......@@ -21,7 +21,7 @@ type GraphitePublisher struct {
func CreateGraphitePublisher() (*GraphitePublisher, error) {
graphiteSection, err := setting.Cfg.GetSection("metrics.graphite")
if err != nil {
return nil, err
return nil, nil
}
publisher := &GraphitePublisher{}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment