Skip to content

Commit 70c6a09

Browse files
committed
re-add deprecation notice on Healthy
1 parent cfce2e0 commit 70c6a09

File tree

4 files changed

+29
-23
lines changed

4 files changed

+29
-23
lines changed

coderd/apidoc/docs.go

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/apidoc/swagger.json

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codersdk/healthsdk/healthsdk.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ type DERPHealthReport struct {
193193

194194
// DERPHealthReport includes health details of each node in a single region.
195195
type DERPRegionReport struct {
196+
// Healthy is deprecated and left for backward compatibility purposes, use `Severity` instead.
196197
Healthy bool `json:"healthy"`
197198
Severity health.Severity `json:"severity" enums:"ok,warning,error"`
198199
Warnings []health.Message `json:"warnings"`
@@ -203,6 +204,7 @@ type DERPRegionReport struct {
203204

204205
// DERPHealthReport includes health details of a single node in a single region.
205206
type DERPNodeReport struct {
207+
// Healthy is deprecated and left for backward compatibility purposes, use `Severity` instead.
206208
Healthy bool `json:"healthy"`
207209
Severity health.Severity `json:"severity" enums:"ok,warning,error"`
208210
Warnings []health.Message `json:"warnings"`

docs/api/schemas.md

Lines changed: 23 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)