forked from TrueCloudLab/frostfs-sdk-go
[#228] client: Move isClientErrMaintenance from node
Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
This commit is contained in:
parent
ebd8fcd168
commit
1a5886e776
2 changed files with 10 additions and 0 deletions
|
@ -38,6 +38,10 @@ func TestErrors(t *testing.T) {
|
|||
check: client.IsErrSessionNotFound,
|
||||
err: new(apistatus.SessionTokenNotFound),
|
||||
},
|
||||
{
|
||||
check: client.IsErrNodeUnderMaintenance,
|
||||
err: new(apistatus.NodeUnderMaintenance),
|
||||
},
|
||||
}
|
||||
|
||||
for i := range errs {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue