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 authored and Serpentiel committed Feb 13, 2024
1 parent f14b63c commit 38dd61f
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 38dd61f

Please sign in to comment.