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:
6 files changed
+37
-15
No files matched your search
+2
-2
@@ -52,9 +52,9 @@ var logCompressors = map[string]string{
|
||||
Zstd: "zst",
|
||||
}
|
||||
|
||||
// SuportedLogCompressor returns whether or not logCompressor is a supported
|
||||
// SupportedLogCompressor returns whether or not logCompressor is a supported
|
||||
// compression algorithm for log files.
|
||||
func SuportedLogCompressor(logCompressor string) bool {
|
||||
func SupportedLogCompressor(logCompressor string) bool {
|
||||
_, ok := logCompressors[logCompressor]
|
||||
|
||||
return ok
|
||||
|
||||
Reference in new issue
Block a user