mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Codestyle: Fix govet issues (#17178)
ref #10381 Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
This commit is contained in:
committed by
Carl Bergquist
parent
574a37e46f
commit
87760d4fde
@@ -488,9 +488,9 @@ func (cfg *Cfg) loadConfiguration(args *CommandLineArgs) (*ini.File, error) {
|
||||
// load specified config file
|
||||
err = loadSpecifedConfigFile(args.Config, parsedFile)
|
||||
if err != nil {
|
||||
err = cfg.initLogging(parsedFile)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
err2 := cfg.initLogging(parsedFile)
|
||||
if err2 != nil {
|
||||
return nil, err2
|
||||
}
|
||||
log.Fatal(3, err.Error())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user