0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-07-04 22:57:34 -04:00

Update modules/setting/actions.go

Signed-off-by: silverwind <me@silverwind.io>
This commit is contained in:
silverwind 2025-07-04 17:08:40 +02:00 committed by GitHub
parent 3282b023e6
commit 13cb941e1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -62,7 +62,7 @@ func (c logCompression) IsValid() bool {
}
func (c logCompression) IsNone() bool {
return strings.EqualFold(string(c), "none")
return string(c) == "none"
}
func (c logCompression) IsZstd() bool {