summaryrefslogtreecommitdiff
path: root/service/gzip/service.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-02-07 15:52:57 +0300
committerValery Piashchynski <[email protected]>2020-02-07 15:52:57 +0300
commit785e58f8bea7eb9052babc1dd0e94859328728e5 (patch)
tree8e301f947211d0a515f79d2b33e85598eb11766c /service/gzip/service.go
parent1f9a12a7b3ab745ee39afe2bbc4a19d21fbe7d91 (diff)
Update README.md (remove travis, replace with github actions)
Fix innefectual usage of maps Update headers (canonical usage) Add golangci-lint check to github actions and go 1.13
Diffstat (limited to 'service/gzip/service.go')
-rw-r--r--service/gzip/service.go2
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
}