[#291] Remove unused code from pkg/services/object/head

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-12-29 17:39:33 +03:00 committed by Alex Vanin
parent 3260e9263e
commit a51211eda7
9 changed files with 2 additions and 502 deletions

View file

@ -29,6 +29,8 @@ type RemoteHeadPrm struct {
node *network.Address
}
var ErrNotFound = errors.New("object header not found")
// NewRemoteHeader creates, initializes and returns new RemoteHeader instance.
func NewRemoteHeader(keyStorage *util.KeyStorage, cache *cache.ClientCache, opts ...client.Option) *RemoteHeader {
return &RemoteHeader{