Add version and software name in first message during startup, fix typo in log message during config loading.

This commit is contained in:
eleksir
2026-04-04 12:33:40 +03:00
parent 06ee9e081f
commit c3553de856
2 changed files with 2 additions and 2 deletions

View File

@@ -146,7 +146,7 @@ func LoadConfig(path string) error {
switch C.DefaultCompression {
case "gzip", "pgzip", "bzip2", "xz", "lz4", "zstd":
log.Infof("Using %s as defailt compression algorithm", C.DefaultCompression)
log.Infof("Using %s as default compression algorithm", C.DefaultCompression)
default:
return fmt.Errorf("Config option default_compression must be gzip, bzip2, zstd, lz4, xz or pgzip, got %s", C.DefaultCompression)
}