assumeRole return the correct http code for auth errors (#16967)

This commit is contained in:
Anis Eleuch
2023-04-06 06:19:31 +01:00
committed by GitHub
parent 62c3df0ca3
commit 111c7d4026
3 changed files with 89 additions and 85 deletions

View File

@@ -371,7 +371,7 @@ func deleteObjectVersions(ctx context.Context, o ObjectLayer, bucket string, toD
auditLogLifecycle(
ctx,
ObjectInfo{
Bucket: bucket,
Bucket: bucket,
Name: dobj.ObjectName,
VersionID: dobj.VersionID,
},