fix(metrics): hide none existing metrics settings

This commit is contained in:
bergquist 2016-08-11 17:00:09 +02:00
parent da6ac07b1d
commit f07b2ac446

View File

@ -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{}