[#176] localstore: Fix linter's remarks

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-11-18 15:45:15 +03:00 committed by Alex Vanin
parent f194c840d7
commit 4518357ad7
3 changed files with 4 additions and 7 deletions

View file

@ -4,13 +4,12 @@ import (
"os"
"github.com/nspcc-dev/neofs-api-go/pkg/object"
objectSDK "github.com/nspcc-dev/neofs-api-go/pkg/object"
"github.com/pkg/errors"
)
// DeletePrm groups the parameters of Delete operation.
type DeletePrm struct {
addr *objectSDK.Address
addr *object.Address
}
// DeleteRes groups resulting values of Delete operation.
@ -19,7 +18,7 @@ type DeleteRes struct{}
// WithAddress is a Delete option to set the address of the object to delete.
//
// Option is required.
func (p *DeletePrm) WithAddress(addr *objectSDK.Address) *DeletePrm {
func (p *DeletePrm) WithAddress(addr *object.Address) *DeletePrm {
if p != nil {
p.addr = addr
}