Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2cb9bfd

Browse files
authored
refactor(coderd): move healthcheck report structs to codersdk (#12279)
Moves healthcheck report-related structs from coderd/healthcheck to codersdkThis prevents an import cycle when adding a codersdk.Client method to hit /api/v2/debug/health.
1 parentaa7a9f5 commit2cb9bfd

File tree

21 files changed

+5555
-5539
lines changed

21 files changed

+5555
-5539
lines changed

‎cli/netcheck_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"github.com/stretchr/testify/require"
1010

1111
"github.com/coder/coder/v2/cli/clitest"
12-
"github.com/coder/coder/v2/coderd/healthcheck/derphealth"
12+
"github.com/coder/coder/v2/codersdk"
1313
"github.com/coder/coder/v2/pty/ptytest"
1414
)
1515

@@ -27,7 +27,7 @@ func TestNetcheck(t *testing.T) {
2727

2828
b:=out.Bytes()
2929
t.Log(string(b))
30-
varreportderphealth.Report
30+
varreportcodersdk.DERPHealthReport
3131
require.NoError(t,json.Unmarshal(b,&report))
3232

3333
assert.True(t,report.Healthy)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp