From 03ea77eee13fa5caedd70c18974cadfc4b19fddf Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Mon, 29 Nov 2021 09:52:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=81=A5=E5=BA=B7=E6=A3=80=E6=9F=A5=E4=B8=8D?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E5=AF=86=E9=92=A5=E5=8A=A0=E5=AF=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/nodes/http_request_health_check.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/nodes/http_request_health_check.go b/internal/nodes/http_request_health_check.go index 47b5a6d..1041351 100644 --- a/internal/nodes/http_request_health_check.go +++ b/internal/nodes/http_request_health_check.go @@ -14,7 +14,7 @@ func (this *HTTPRequest) doHealthCheck(key string) (stop bool) { this.RawReq.Header.Del(serverconfigs.HealthCheckHeaderName) - data, err := nodeutils.DecryptData(sharedNodeConfig.NodeId, sharedNodeConfig.Secret, key) + data, err := nodeutils.Base64DecodeMap(key) if err != nil { remotelogs.Error("HTTP_REQUEST_HEALTH_CHECK", "decode key failed: "+err.Error()) return