dashboard history: refactor after review

This commit is contained in:
Alexander Zobnin
2017-11-15 13:36:36 +03:00
parent 08e2bbef83
commit a0a1f4aacd
4 changed files with 34 additions and 49 deletions

View File

@ -523,7 +523,7 @@ func NewConfigContext(args *CommandLineArgs) error {
// read dashboard settings
dashboards := Cfg.Section("dashboards")
DashboardVersionsToKeep = dashboards.Key("snapshot_TTL_days").MustInt(20)
DashboardVersionsToKeep = dashboards.Key("versions_to_keep").MustInt(20)
// read data source proxy white list
DataProxyWhiteList = make(map[string]bool)