forked from TrueCloudLab/frostfs-node
[#496] node: Fix linter importas
Standardize the alias of the import frostfs-sdk-go/object as objectSDK. Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
This commit is contained in:
parent
4bbe9cc936
commit
033eaf77e1
80 changed files with 444 additions and 443 deletions
|
@ -7,13 +7,13 @@ import (
|
|||
"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/services/object/util"
|
||||
"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/services/object_manager/placement"
|
||||
containerSDK "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container"
|
||||
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object"
|
||||
objectSDK "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object"
|
||||
)
|
||||
|
||||
type PutInitPrm struct {
|
||||
common *util.CommonPrm
|
||||
|
||||
hdr *object.Object
|
||||
hdr *objectSDK.Object
|
||||
|
||||
cnr containerSDK.Container
|
||||
|
||||
|
@ -34,7 +34,7 @@ func (p *PutInitPrm) WithCommonPrm(v *util.CommonPrm) *PutInitPrm {
|
|||
return p
|
||||
}
|
||||
|
||||
func (p *PutInitPrm) WithObject(v *object.Object) *PutInitPrm {
|
||||
func (p *PutInitPrm) WithObject(v *objectSDK.Object) *PutInitPrm {
|
||||
if p != nil {
|
||||
p.hdr = v
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue