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
|
@ -12,7 +12,8 @@ import (
|
|||
"git.frostfs.info/TrueCloudLab/frostfs-node/pkg/local_object_storage/util/logicerr"
|
||||
"git.frostfs.info/TrueCloudLab/frostfs-observability/tracing"
|
||||
cid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/container/id"
|
||||
"git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object"
|
||||
objectSDK "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object"
|
||||
|
||||
oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id"
|
||||
"go.etcd.io/bbolt"
|
||||
"go.opentelemetry.io/otel/attribute"
|
||||
|
@ -21,13 +22,13 @@ import (
|
|||
|
||||
// ExpiredObject is a descriptor of expired object from DB.
|
||||
type ExpiredObject struct {
|
||||
typ object.Type
|
||||
typ objectSDK.Type
|
||||
|
||||
addr oid.Address
|
||||
}
|
||||
|
||||
// Type returns type of the expired object.
|
||||
func (e *ExpiredObject) Type() object.Type {
|
||||
func (e *ExpiredObject) Type() objectSDK.Type {
|
||||
return e.typ
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue