Skip to content

Commit 2e8c7d4

Browse files
authored
Update modules/setting/actions.go
Signed-off-by: silverwind <[email protected]>
1 parent 13cb941 commit 2e8c7d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/setting/actions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func (c logCompression) IsNone() bool {
6666
}
6767

6868
func (c logCompression) IsZstd() bool {
69-
return c == "" || strings.EqualFold(string(c), "zstd")
69+
return c == "" || string(c) == "zstd"
7070
}
7171

7272
func loadActionsFrom(rootCfg ConfigProvider) error {

0 commit comments

Comments
 (0)