mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 12:14:08 -06:00
fix(settings): remove nil pointer exception
This commit is contained in:
parent
61bb9cbc13
commit
5dea0fda51
@ -359,12 +359,12 @@ func loadConfiguration(args *CommandLineArgs) {
|
||||
configFiles = append(configFiles, defaultConfigFile)
|
||||
|
||||
Cfg, err = ini.Load(defaultConfigFile)
|
||||
Cfg.BlockMode = false
|
||||
|
||||
if err != nil {
|
||||
log.Fatal(3, "Failed to parse defaults.ini, %v", err)
|
||||
}
|
||||
|
||||
Cfg.BlockMode = false
|
||||
|
||||
// command line props
|
||||
commandLineProps := getCommandLineProperties(args.Args)
|
||||
// load default overrides
|
||||
|
Loading…
Reference in New Issue
Block a user