diff --git a/cmd/dwelling-upload-clear/main.go b/cmd/dwelling-upload-clear/main.go index 948e0b9..79a99e3 100644 --- a/cmd/dwelling-upload-clear/main.go +++ b/cmd/dwelling-upload-clear/main.go @@ -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) } diff --git a/internal/configuration/configuration.go b/internal/configuration/configuration.go index 8925df4..7d80d66 100644 --- a/internal/configuration/configuration.go +++ b/internal/configuration/configuration.go @@ -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"`