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:
parent
3282b023e6
commit
13cb941e1c
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user