Fixed a typo in config.
This commit is contained in:
parent
a9a82868ca
commit
ad336b03e2
@ -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)
|
||||
}
|
||||
|
@ -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"`
|
||||
|
Loading…
Reference in New Issue
Block a user