Skip to content

fix(go/sign-and-verify): fix linter error from resp.Body.Close in test client - #653

Merged
Iwaniukooo11 merged 2 commits into
mainfrom
mateusziwaniuk/go-sign-errcheck-hotfix
Jul 24, 2026
Merged

fix(go/sign-and-verify): fix linter error from resp.Body.Close in test client#653
Iwaniukooo11 merged 2 commits into
mainfrom
mateusziwaniuk/go-sign-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 sign-and-verify-agent-card test client.

Changes

  • samples/go/agents/sign-and-verify-agent-card/test_client.go: Checked/ignored the body close error using an anonymous deferred function.

@sokoliva sokoliva changed the title fix(go/sign-and-verify): ignore linter error from resp.Body.Close in test client fix(go/sign-and-verify): fix linter error from resp.Body.Close in test client Jul 24, 2026
@Iwaniukooo11
Iwaniukooo11 merged commit ffa57ae into main Jul 24, 2026
9 checks passed
@Iwaniukooo11
Iwaniukooo11 deleted the mateusziwaniuk/go-sign-errcheck-hotfix branch July 24, 2026 10:21
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