forked from TrueCloudLab/frostfs-node
[#1312] Drop handling of system attributes with NeoFS prefix
Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
This commit is contained in:
parent
c290d079fd
commit
c34b8acedd
5 changed files with 5 additions and 18 deletions
|
@ -387,10 +387,6 @@ func hasExpirationEpoch(obj *objectSDK.Object) (uint64, bool) {
|
|||
attributes = ech.ParentAttributes()
|
||||
}
|
||||
for _, attr := range attributes {
|
||||
if attr.Key() == objectV2.SysAttributeExpEpochNeoFS {
|
||||
expEpoch, err := strconv.ParseUint(attr.Value(), 10, 64)
|
||||
return expEpoch, err == nil
|
||||
}
|
||||
if attr.Key() == objectV2.SysAttributeExpEpoch {
|
||||
expEpoch, err := strconv.ParseUint(attr.Value(), 10, 64)
|
||||
return expEpoch, err == nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue