[full-ci] bump a reva according the #issue-6469

This commit is contained in:
Roman Perekhod
2023-06-14 17:08:16 +02:00
parent 68fb5b4d50
commit 8160362c2e
5 changed files with 11 additions and 4 deletions
@@ -499,6 +499,8 @@ func (s *service) CreateStorageSpace(ctx context.Context, req *provider.CreateSt
}
case errtypes.AlreadyExists:
st = status.NewAlreadyExists(ctx, err, "already exists")
case errtypes.BadRequest:
st = status.NewInvalid(ctx, err.Error())
default:
st = status.NewInternal(ctx, "error creating space")
appctx.GetLogger(ctx).