From 43071e43a0743ff8c7913bba7819952962124355 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Mon, 25 Jan 2021 22:47:02 +0300 Subject: Initial commit of the Temporal plugins set --- plugins/http/plugin.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/http') 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, -- cgit v1.2.3