Skip to content

Commit

Permalink
chore: Add appId to consul default checks
Browse files Browse the repository at this point in the history
fix dapr#2489

Signed-off-by: AlbertHuang <[email protected]>
  • Loading branch information
alberthuang24 committed Feb 1, 2023
1 parent f3e48ac commit e44cec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nameresolution/consul/consul.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
},
}
}
Expand Down

0 comments on commit e44cec8

Please sign in to comment.