1
0

Fixed a typo in config.

This commit is contained in:
Alexander Andreev 2022-02-08 23:08:37 +04:00
parent a9a82868ca
commit ad336b03e2
Signed by: Arav
GPG Key ID: 1327FE8A374CC86F
2 changed files with 4 additions and 4 deletions

View File

@ -54,13 +54,13 @@ func main() {
config.Log.ToStdout = true
}
logErr, err := logging.NewLogger(config.Log.CleanError, config.Log.ToStdout)
logErr, err := logging.NewLogger(config.Log.ClearError, config.Log.ToStdout)
if err != nil {
log.Fatalln("failed to open error logger:", err)
}
defer logErr.Close()
logClean, err := logging.NewLogger(config.Log.Clean, config.Log.ToStdout)
logClean, err := logging.NewLogger(config.Log.Clear, config.Log.ToStdout)
if err != nil {
log.Fatalln("failed to open error logger:", err)
}

View File

@ -19,8 +19,8 @@ type Configuration struct {
Error string `yaml:"error"`
Upload string `yaml:"upload"`
Download string `yaml:"download"`
Clean string `yaml:"clean"`
CleanError string `yaml:"clean_error"`
Clear string `yaml:"clear"`
ClearError string `yaml:"clear_error"`
} `yaml:"log"`
Uploads struct {
Directory string `yaml:"directory"`