Skip to content

Commit

Permalink
Replace usages of s3types.LifecycleRuleFilterMemberPrefix
Browse files Browse the repository at this point in the history
  • Loading branch information
codingllama committed Nov 1, 2024
1 parent 40e8632 commit 438336a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/integrations/externalauditstorage/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ func createTransientBucket(ctx context.Context, clt BootstrapS3Client, bucketNam
Expiration: &s3types.LifecycleExpiration{
Days: aws.Int32(1),
},
Filter: &s3types.LifecycleRuleFilterMemberPrefix{
Value: "/query_results",
Filter: &s3types.LifecycleRuleFilter{
Prefix: aws.String("/query_results"),
},
},
{
Expand All @@ -216,7 +216,9 @@ func createTransientBucket(ctx context.Context, clt BootstrapS3Client, bucketNam
Expiration: &s3types.LifecycleExpiration{
ExpiredObjectDeleteMarker: aws.Bool(true),
},
Filter: &s3types.LifecycleRuleFilterMemberPrefix{},
Filter: &s3types.LifecycleRuleFilter{
Prefix: aws.String(""),
},
},
},
},
Expand Down

0 comments on commit 438336a

Please sign in to comment.