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

Commit6213b30

Browse files
authored
fix: replace http.DefaultClient in telemetry with dedicated client (#20247)
Replaces a call to the http default client in telemetry.go. Looks likeit was missed in#20128.Related tocoder/internal#1020 andcoder/internal#645.
1 parent5d66f1f commit6213b30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎coderd/telemetry/telemetry.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ func (r *remoteReporter) deployment() error {
355355
returnxerrors.Errorf("create deployment request: %w",err)
356356
}
357357
req.Header.Set(VersionHeader,buildinfo.Version())
358-
resp,err:=http.DefaultClient.Do(req)
358+
resp,err:=r.client.Do(req)
359359
iferr!=nil {
360360
returnxerrors.Errorf("perform request: %w",err)
361361
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp