Skip to content

Commit d7a022f

Browse files
rm unused param
1 parent 4571d4e commit d7a022f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

receiver/restapireceiver/client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ type restAPIClient interface {
4646
// Returns the full response as map[string]any for pagination parsing.
4747
GetFullResponse(ctx context.Context, requestURL string, params url.Values) (map[string]any, error)
4848
// Shutdown shuts down the REST API client.
49-
Shutdown(ctx context.Context) error
49+
Shutdown() error
5050
}
5151

5252
// defaultRESTAPIClient is the default implementation of restAPIClient.
@@ -90,7 +90,7 @@ func newRESTAPIClient(
9090
}
9191

9292
// Shutdown shuts down the REST API client.
93-
func (c *defaultRESTAPIClient) Shutdown(ctx context.Context) error {
93+
func (c *defaultRESTAPIClient) Shutdown() error {
9494
return nil
9595
}
9696

0 commit comments

Comments
 (0)