From e44cec83812ce3f546e2c6268a1c846a94ac3096 Mon Sep 17 00:00:00 2001 From: AlbertHuang Date: Wed, 1 Feb 2023 17:22:56 +0800 Subject: [PATCH] chore: Add appId to consul default checks fix https://github.com/dapr/components-contrib/issues/2489 Signed-off-by: AlbertHuang --- nameresolution/consul/consul.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nameresolution/consul/consul.go b/nameresolution/consul/consul.go index b6076a6e34..b897273556 100644 --- a/nameresolution/consul/consul.go +++ b/nameresolution/consul/consul.go @@ -253,7 +253,7 @@ func getRegistrationConfig(cfg configSpec, props map[string]string) (*consul.Age Name: "Dapr Health Status", CheckID: fmt.Sprintf("daprHealth:%s", id), Interval: "1s", - HTTP: fmt.Sprintf("http://%s/v1.0/healthz", net.JoinHostPort(host, httpPort)), + HTTP: fmt.Sprintf("http://%s/v1.0/healthz/%s", net.JoinHostPort(host, httpPort), appID), }, } }