remove grafana specific config from package (#44866)

This commit is contained in:
Will Browne
2022-02-04 18:14:53 +01:00
committed by GitHub
parent 5c87044aa2
commit 126ed461b1
5 changed files with 17 additions and 12 deletions
-2
View File
@@ -24,7 +24,6 @@ type Cfg struct {
CheckForUpdates bool
BuildVersion string // TODO Remove
AppSubURL string // TODO Remove
}
func NewCfg() *Cfg {
@@ -51,7 +50,6 @@ func FromGrafanaCfg(grafanaCfg *setting.Cfg) *Cfg {
cfg.CheckForUpdates = grafanaCfg.CheckForUpdates
cfg.BuildVersion = grafanaCfg.BuildVersion
cfg.AppSubURL = grafanaCfg.AppSubURL
return cfg
}