Skip to content

Commit

Permalink
fix(metrics): hide none existing metrics settings
Browse files Browse the repository at this point in the history
  • Loading branch information
bergquist committed Aug 11, 2016
1 parent da6ac07 commit f07b2ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/metrics/graphite.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}
Expand Down

0 comments on commit f07b2ac

Please sign in to comment.