Skip to content

Commit

Permalink
fix(logger): convert multierror to err
Browse files Browse the repository at this point in the history
  • Loading branch information
byashimov committed Feb 13, 2024
1 parent 8826c48 commit 227c7b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func (d *aivenClient) Do(ctx context.Context, operationID, method, path string,
}

defer func() {
err = multierror.Append(rsp.Body.Close())
err = multierror.Append(rsp.Body.Close()).ErrorOrNil()
}()

b, err := io.ReadAll(rsp.Body)
Expand Down

0 comments on commit 227c7b0

Please sign in to comment.