feat(import): working on unit tests for import ctrl

This commit is contained in:
Torkel Ödegaard
2016-05-27 13:52:19 +02:00
parent f6633c8189
commit 540def2c39
7 changed files with 77 additions and 4 deletions
+5
View File
@@ -138,6 +138,9 @@ var (
// QUOTA
Quota QuotaSettings
// Grafana.NET URL
GrafanaNetUrl string
)
type CommandLineArgs struct {
@@ -494,6 +497,8 @@ 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")
return nil
}