Skip to content

gentype: fix staticcheck QF1008 in FakeClient.Create - #647

Merged
tamalsaha merged 1 commit into
masterfrom
fix-staticcheck-gentype
Sep 2, 2026
Merged

gentype: fix staticcheck QF1008 in FakeClient.Create#647
tamalsaha merged 1 commit into
masterfrom
fix-staticcheck-gentype

Conversation

@tamalsaha

Copy link
Copy Markdown
Contributor

Fixes master CI failure from #646: c.Fake.Invokes(...) can be simplified to c.Invokes(...) since Fake is an embedded (promoted) field on FakeClient[T].

Verified locally: make lint (0 issues), go vet, go build, make check-license all pass.

c.Fake.Invokes(...) can be simplified to c.Invokes(...) since Fake is
an embedded (promoted) field on FakeClient[T].

Signed-off-by: Tamal Saha <tamal@appscode.com>
@tamalsaha
tamalsaha merged commit b541b87 into master Sep 2, 2026
4 checks passed
@tamalsaha
tamalsaha deleted the fix-staticcheck-gentype branch September 2, 2026 17:40
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.

1 participant