Skip to content

Commit

Permalink
Fix linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
hslatman committed May 21, 2024
1 parent d20fc2f commit 6bebabe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tpm/attestation/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,8 @@ func (ac *Client) secret(ctx context.Context, secret []byte) (*secretResponse, e
return &secretResp, nil
}

func newRequest(ctx context.Context, method, url string, body io.Reader) (*http.Request, error) {
req, err := http.NewRequestWithContext(ctx, method, url, body)
func newRequest(ctx context.Context, method, requestURL string, body io.Reader) (*http.Request, error) {
req, err := http.NewRequestWithContext(ctx, method, requestURL, body)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 6bebabe

Please sign in to comment.