remove unused debug param from evalActionFromLifecycle (#15813)

This commit is contained in:
Harshavardhana authored and GitHub committed 2022-10-07 10:24:12 -07:00
1 parent b3febe2d24
commit 928feb0889
7 files changed
+12 -12

No files matched your search

+1 -1
View File
@@ -1530,7 +1530,7 @@ func (er erasureObjects) DeleteObject(ctx context.Context, bucket, object string
if opts.Expiration.Expire {
goi, _, err := er.getObjectInfoAndQuorum(ctx, bucket, object, opts)
if err == nil {
action := evalActionFromLifecycle(ctx, *lc, rcfg, goi, false)
action := evalActionFromLifecycle(ctx, *lc, rcfg, goi)
var isErr bool
switch action {
case lifecycle.NoneAction: