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 9, 2024
1 parent 85363c9 commit 21c30ad
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 21c30ad

Please sign in to comment.