summaryrefslogtreecommitdiff
path: root/service/env/service.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-09-10 15:11:55 +0300
committerWolfy-J <[email protected]>2018-09-10 15:11:55 +0300
commit5dcbd1fd465956ee377c67f3b5d5a17701af235a (patch)
tree92a649424717478487e0d9f5a51da8b6584456c0 /service/env/service.go
parent6f70e31df4a88b85e576789ebe4fee6b5fc12d86 (diff)
more tests
Diffstat (limited to 'service/env/service.go')
-rw-r--r--service/env/service.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/service/env/service.go b/service/env/service.go
index a4d3959c..41e70bee 100644
--- a/service/env/service.go
+++ b/service/env/service.go
@@ -4,8 +4,8 @@ const (
// ID contains default service name.
ID = "env"
- // RRKey contains default env key to indicate than php running in RR mode.
- RRKey = "RR"
+ // rrKey contains default env key to indicate than php running in RR mode.
+ rrKey = "rr"
)
// Service provides ability to map _ENV values from config file.
@@ -25,7 +25,7 @@ func NewService(defaults map[string]string) *Service {
func (s *Service) Init(cfg *Config) (bool, error) {
if s.values == nil {
s.values = make(map[string]string)
- s.values[RRKey] = "yes"
+ s.values[rrKey] = "yes"
}
for k, v := range cfg.Values {