Skip to content

fix(go/helloworld): ignore linter error from resp.Body.Close in test client - #652

Merged
sokoliva merged 1 commit into
mainfrom
mateusziwaniuk/go-helloworld-errcheck-hotfix
Jul 24, 2026
Merged

fix(go/helloworld): ignore linter error from resp.Body.Close in test client#652
sokoliva merged 1 commit into
mainfrom
mateusziwaniuk/go-helloworld-errcheck-hotfix

Conversation

@Iwaniukooo11

Copy link
Copy Markdown
Member

Description

This hotfix addresses a Go linter warning where the error return value from resp.Body.Close() was unchecked in the helloworld test client.

Changes

  • samples/go/agents/helloworld/test_client.go: Checked/ignored the body close error using an anonymous deferred function.

@sokoliva
sokoliva merged commit a010429 into main Jul 24, 2026
8 of 9 checks passed
@sokoliva
sokoliva deleted the mateusziwaniuk/go-helloworld-errcheck-hotfix branch July 24, 2026 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants