Footer: Display Grafana edition (#21717)

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
This commit is contained in:
Emil Tullstedt
2020-01-27 09:24:44 +01:00
committed by GitHub
co-authored by Torkel Ödegaard
parent 84ef0ebb17
commit 3fabbbff4d
9 changed files with 60 additions and 27 deletions
+4 -8
View File
@@ -36,11 +36,10 @@ const (
)
const (
DEV = "development"
PROD = "production"
TEST = "test"
APP_NAME = "Grafana"
APP_NAME_ENTERPRISE = "Grafana Enterprise"
DEV = "development"
PROD = "production"
TEST = "test"
APP_NAME = "Grafana"
)
var (
@@ -619,9 +618,6 @@ func (cfg *Cfg) Load(args *CommandLineArgs) error {
Raw = cfg.Raw
ApplicationName = APP_NAME
if IsEnterprise {
ApplicationName = APP_NAME_ENTERPRISE
}
Env, err = valueAsString(iniFile.Section(""), "app_mode", "development")
if err != nil {