Browse Source

fix typo in config loader

Dan Cech 9 years ago
parent
commit
6d7061dcaf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pkg/setting/setting.go

+ 1 - 1
pkg/setting/setting.go

@@ -567,7 +567,7 @@ func NewConfigContext(args *CommandLineArgs) error {
 		log.Warn("require_email_validation is enabled but smpt is disabled")
 	}
 
-	GrafanaNetUrl = Cfg.Section("grafana.net").Key("url").MustString("https://grafana.net")
+	GrafanaNetUrl = Cfg.Section("grafana_net").Key("url").MustString("https://grafana.net")
 
 	imageUploadingSection := Cfg.Section("external_image_storage")
 	ImageUploadProvider = imageUploadingSection.Key("provider").MustString("internal")