Skip to content

Commit

Permalink
client: Disable contextcheck linter for Dial
Browse files Browse the repository at this point in the history
It speaks the truth, but it's not that easy to fix.

Signed-off-by: Leonard Lyubich <[email protected]>
  • Loading branch information
cthulhu-rider committed Nov 22, 2024
1 parent 321a488 commit 774c74c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ func New(prm PrmInit) (*Client, error) {
// - [ErrNonPositiveTimeout]
//
// See also [Client.Close].
// nolint:contextcheck
func (c *Client) Dial(prm PrmDial) error {
if prm.endpoint == "" {
return ErrMissingServer
Expand Down

0 comments on commit 774c74c

Please sign in to comment.