mirror of
https://github.com/grafana/grafana.git
synced 2024-11-22 08:56:43 -06:00
fix(metrics): hide none existing metrics settings
This commit is contained in:
parent
da6ac07b1d
commit
f07b2ac446
@ -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{}
|
||||
|
Loading…
Reference in New Issue
Block a user