forked from TrueCloudLab/frostfs-sdk-go
[#131] client: rename option consistently and fix test
Signed-off-by: Egor Olefirenko <egor.olefirenko892@gmail.com>
This commit is contained in:
parent
9727beb47d
commit
0d79d10482
18 changed files with 25 additions and 24 deletions
|
@ -119,7 +119,7 @@ func (c *Client) processResponse(resp responseV2) (apistatus.Status, error) {
|
|||
}
|
||||
|
||||
st := apistatus.FromStatusV2(resp.GetMetaHeader().GetStatus())
|
||||
if !c.prm.dontResolveFrostFSErrors {
|
||||
if !c.prm.disableFrostFSErrorResolution {
|
||||
return st, apistatus.ErrFromStatus(st)
|
||||
}
|
||||
return st, nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue