Skip to content

Commit

Permalink
Remove actual object version (#971)
Browse files Browse the repository at this point in the history
  • Loading branch information
cthulhu-rider committed Jul 4, 2024
2 parents a3d5c68 + 7bfe508 commit b7bc216
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/layer/layer.go
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ func (n *layer) deleteObject(ctx context.Context, bkt *data.BucketInfo, settings
}

if obj.DeleteMarkVersion, obj.Error = n.removeOldVersion(ctx, bkt, nodeVersion, obj); obj.Error != nil {
return obj
n.log.Info("remove old version", zap.Error(obj.Error))
}

obj.Error = n.treeService.RemoveVersion(ctx, bkt, nodeVersion.ID)
Expand Down

0 comments on commit b7bc216

Please sign in to comment.