diff options
Diffstat (limited to 'service/gzip/service.go')
-rw-r--r-- | service/gzip/service.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/gzip/service.go b/service/gzip/service.go index 86069c2f..bb6bcfcd 100644 --- a/service/gzip/service.go +++ b/service/gzip/service.go @@ -16,7 +16,7 @@ type Service struct { func (s *Service) Init(cfg *Config, r *rrhttp.Service) (bool, error) { s.cfg = cfg - if s.cfg.Enable == false { + if !s.cfg.Enable { return false, nil } |