From 2a5502535153262f1b6084212f78d1ce2f088ad7 Mon Sep 17 00:00:00 2001 From: Nic Klaassen Date: Tue, 23 Jan 2024 18:26:51 -0800 Subject: [PATCH] [v14] fix EAS bootstrap script Backport #37068 to branch/v14 --- lib/integrations/externalauditstorage/bootstrap.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/integrations/externalauditstorage/bootstrap.go b/lib/integrations/externalauditstorage/bootstrap.go index b32dad2eebae5..3806f601dae1c 100644 --- a/lib/integrations/externalauditstorage/bootstrap.go +++ b/lib/integrations/externalauditstorage/bootstrap.go @@ -184,8 +184,7 @@ func createTransientBucket(ctx context.Context, clt BootstrapS3Client, bucketNam Status: s3types.ExpirationStatusEnabled, ID: aws.String("ExpireNonCurrentVersionsAndDeleteMarkers"), NoncurrentVersionExpiration: &s3types.NoncurrentVersionExpiration{ - NewerNoncurrentVersions: aws.Int32(0), - NoncurrentDays: aws.Int32(1), + NoncurrentDays: aws.Int32(1), }, AbortIncompleteMultipartUpload: &s3types.AbortIncompleteMultipartUpload{ DaysAfterInitiation: aws.Int32(7),