summaryrefslogtreecommitdiff
path: root/plugins/http/plugin.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-01-25 22:47:02 +0300
committerValery Piashchynski <[email protected]>2021-01-25 22:47:02 +0300
commit43071e43a0743ff8c7913bba7819952962124355 (patch)
treee3b61113d3c0d28f972c71592af8b2f708994167 /plugins/http/plugin.go
parent5fd1168c687040ca7d72f4727ee1aec753d3f258 (diff)
Initial commit of the Temporal plugins set
Diffstat (limited to 'plugins/http/plugin.go')
-rw-r--r--plugins/http/plugin.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/http/plugin.go b/plugins/http/plugin.go
index 4d64ac6d..3672f5ac 100644
--- a/plugins/http/plugin.go
+++ b/plugins/http/plugin.go
@@ -34,7 +34,7 @@ const (
PluginName = "http"
// RR_HTTP env variable key (internal) if the HTTP presents
- RR_HTTP = "RR_HTTP" //nolint:golint,stylecheck
+ RR_MODE = "RR_MODE" //nolint:golint,stylecheck
// HTTPS_SCHEME
HTTPS_SCHEME = "https" //nolint:golint,stylecheck
@@ -101,7 +101,7 @@ func (s *Plugin) Init(cfg config.Configurer, log logger.Logger, server server.Se
s.cfg.Env = make(map[string]string)
}
- s.cfg.Env[RR_HTTP] = "true"
+ s.cfg.Env[RR_MODE] = "http"
s.pool, err = server.NewWorkerPool(context.Background(), pool.Config{
Debug: s.cfg.Pool.Debug,