multi: move logcompressor to logging.file.compressor

This is not a breaking change since the logcompressor config option has
not been released yet.
This commit is contained in:
Elle Mouton committed 2024-10-30 13:30:04 +02:00
1 parent 1886d3865b
commit 3adbdbb39a
6 files changed
+37 -15

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ func (r *RotatingLogWriter) InitLogRotator(logFile, logCompressor string,
}
// Reject unknown compressors.
if !SuportedLogCompressor(logCompressor) {
if !SupportedLogCompressor(logCompressor) {
return fmt.Errorf("unknown log compressor: %v", logCompressor)
}