Skip to content

Commit 4029aed

Browse files
committed
fixup! fixup! feat(coderd): /debug/health: add parameter to force healthcheck
1 parent fe34d68 commit 4029aed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/debug.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func (api *API) debugDeploymentHealth(rw http.ResponseWriter, r *http.Request) {
5050
// Check if the forced query parameter is set.
5151
forced := r.URL.Query().Get("force") == "true"
5252

53-
// Get cached report if it exists and the requestor did not force a refresh.
53+
// Get cached report if it exists and the requester did not force a refresh.
5454
if !forced {
5555
if report := api.healthCheckCache.Load(); report != nil {
5656
if time.Since(report.Time) < api.Options.HealthcheckRefresh {

0 commit comments

Comments
 (0)