[#1431] obj_storage/metabase: Delete unused variable

Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
This commit is contained in:
Alexander Chuprov 2024-10-14 17:31:15 +03:00 committed by Evgenii Stratonikov
parent 00b1cecfb7
commit f6582081a4
2 changed files with 2 additions and 6 deletions

View file

@ -60,7 +60,6 @@ func (p *PutPrm) SetIndexAttributes(v bool) {
var (
ErrUnknownObjectType = errors.New("unknown object type")
ErrIncorrectSplitInfoUpdate = errors.New("updating split info on object without it")
ErrIncorrectRootObject = errors.New("invalid root object")
)

View file

@ -2,7 +2,6 @@ package object
import (
"context"
"errors"
"fmt"
clientcore "git.frostfs.info/TrueCloudLab/frostfs-node/pkg/core/client"
@ -35,8 +34,6 @@ type RemoteRequestPrm struct {
const remoteOpTTL = 1
var ErrNotFound = errors.New("object header not found")
// NewRemoteReader creates, initializes and returns new RemoteHeader instance.
func NewRemoteReader(keyStorage *util.KeyStorage, cache ClientConstructor) *RemoteReader {
return &RemoteReader{