From 48434d9999770e8560bf8044c6000af25bf8c50f Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Thu, 21 Apr 2022 19:13:27 +0300 Subject: [PATCH] [#197] client: Remove no longer used type Signed-off-by: Leonard Lyubich --- client/container.go | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/client/container.go b/client/container.go index 936d6b7..61bef38 100644 --- a/client/container.go +++ b/client/container.go @@ -412,19 +412,6 @@ type ResContainerDelete struct { statusRes } -// implements github.com/nspcc-dev/neofs-sdk-go/util/signature.DataSource. -type delContainerSignWrapper struct { - body *v2container.DeleteRequestBody -} - -func (c delContainerSignWrapper) ReadSignedData([]byte) ([]byte, error) { - return c.body.GetContainerID().GetValue(), nil -} - -func (c delContainerSignWrapper) SignedDataSize() int { - return len(c.body.GetContainerID().GetValue()) -} - // ContainerDelete sends request to remove the NeoFS container. // // Exactly one return value is non-nil. By default, server status is returned in res structure.