mirror of
https://github.com/qwc/backive.git
synced 2025-01-18 09:37:20 +01:00
Fix last linting errors
This commit is contained in:
parent
a64be87c6f
commit
4807162a0a
@ -48,9 +48,9 @@ func Load() *Configuration {
|
||||
vconfig := CreateViper()
|
||||
if err := vconfig.ReadInConfig(); err != nil {
|
||||
if _, ok := err.(viper.ConfigFileNotFoundError); ok {
|
||||
panic(fmt.Errorf("Fatal: No config file could be found!"))
|
||||
panic(fmt.Errorf("Fatal: No config file could be found"))
|
||||
}
|
||||
panic(fmt.Errorf("Fatal error config file: %w \n", err))
|
||||
panic(fmt.Errorf("Fatal error config file: %w ", err))
|
||||
}
|
||||
|
||||
var cfg *Configuration
|
||||
|
Loading…
x
Reference in New Issue
Block a user