forked from TrueCloudLab/frostfs-node
[#1454] Upgrade NeoFS SDK Go module with new IDs
Core changes: * avoid package-colliding variable naming * avoid using pointers to IDs where unnecessary * avoid using `idSDK` import alias pattern * use `EncodeToString` for protocol string calculation and `String` for printing Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
cc6209e8a0
commit
1c30414a6c
218 changed files with 2095 additions and 2521 deletions
|
@ -6,7 +6,7 @@ import (
|
|||
coreclient "github.com/nspcc-dev/neofs-node/pkg/core/client"
|
||||
"github.com/nspcc-dev/neofs-node/pkg/services/object/util"
|
||||
"github.com/nspcc-dev/neofs-sdk-go/object"
|
||||
addressSDK "github.com/nspcc-dev/neofs-sdk-go/object/address"
|
||||
oid "github.com/nspcc-dev/neofs-sdk-go/object/id"
|
||||
)
|
||||
|
||||
// Prm groups parameters of Get service call.
|
||||
|
@ -44,7 +44,7 @@ type commonPrm struct {
|
|||
|
||||
common *util.CommonPrm
|
||||
|
||||
addr *addressSDK.Address
|
||||
addr oid.Address
|
||||
|
||||
raw bool
|
||||
|
||||
|
@ -111,7 +111,7 @@ func (p *commonPrm) SetRequestForwarder(f RequestForwarder) {
|
|||
}
|
||||
|
||||
// WithAddress sets object address to be read.
|
||||
func (p *commonPrm) WithAddress(addr *addressSDK.Address) {
|
||||
func (p *commonPrm) WithAddress(addr oid.Address) {
|
||||
p.addr = addr
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue