Skip to content

Commit 2c0df9d

Browse files
committed
fix more lint errors
1 parent 4a98bd4 commit 2c0df9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

launcher/teeserver/tee_server_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ func (t *testRespWriter) WriteHeader(statusCode int) {
640640
func TestGetWithVerifyMethod(t *testing.T) {
641641
handler := &attestHandler{
642642
attestAgent: fakeAttestationAgent{
643-
attestWithClientFunc: func(_ context.Context, opts agent.AttestAgentOpts, c verifier.Client) ([]byte, error) {
643+
attestWithClientFunc: func(_ context.Context, opts agent.AttestAgentOpts, _ verifier.Client) ([]byte, error) {
644644
if len(opts.Method) == 0 {
645645
t.Fatal("no method provided in attest agent opts")
646646
}
@@ -678,7 +678,7 @@ func TestGetWithVerifyMethod(t *testing.T) {
678678
func TestPostWithVerifyMethod(t *testing.T) {
679679
handler := &attestHandler{
680680
attestAgent: fakeAttestationAgent{
681-
attestWithClientFunc: func(_ context.Context, opts agent.AttestAgentOpts, c verifier.Client) ([]byte, error) {
681+
attestWithClientFunc: func(_ context.Context, opts agent.AttestAgentOpts, _ verifier.Client) ([]byte, error) {
682682
if len(opts.Method) == 0 {
683683
t.Fatal("no method provided in attest agent opts")
684684
}

0 commit comments

Comments
 (0)