Skip to content

Commit

Permalink
layer: Remove actual object version
Browse files Browse the repository at this point in the history
Closes #955.

Signed-off-by: Evgenii Baidakov <[email protected]>
  • Loading branch information
smallhive committed Jul 1, 2024
1 parent a3d5c68 commit 7bfe508
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 7bfe508

Please sign in to comment.