Skip to content

Commit

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

Signed-off-by: AlbertHuang <[email protected]>
  • Loading branch information
alberthuang24 committed Mar 12, 2023
1 parent 6feae77 commit d752519
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 @@ -244,7 +244,7 @@ func getRegistrationConfig(cfg configSpec, props map[string]string) (*consul.Age
Name: "Dapr Health Status",
CheckID: fmt.Sprintf("daprHealth:%s", id),
Interval: "15s",
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 d752519

Please sign in to comment.