Skip to content

Commit 13cb941

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

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
@@ -62,7 +62,7 @@ func (c logCompression) IsValid() bool {
6262
}
6363

6464
func (c logCompression) IsNone() bool {
65-
return strings.EqualFold(string(c), "none")
65+
return string(c) == "none"
6666
}
6767

6868
func (c logCompression) IsZstd() bool {

0 commit comments

Comments
 (0)