From a9b87c0a16cd890a34f83d9d04d03af244f0da41 Mon Sep 17 00:00:00 2001 From: poornas Date: Wed, 20 Nov 2019 16:35:01 -0800 Subject: [PATCH] Fix typo in event name (#8545) --- pkg/event/name.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/event/name.go b/pkg/event/name.go index 4fdb06586..fbc71a1cc 100644 --- a/pkg/event/name.go +++ b/pkg/event/name.go @@ -77,7 +77,7 @@ func (name Name) String() string { case ObjectCreatedPut: return "s3:ObjectCreated:Put" case ObjectCreatedPutRetention: - return "s3:ObjectAccessed:PutRetention" + return "s3:ObjectCreated:PutRetention" case ObjectRemovedAll: return "s3:ObjectRemoved:*" case ObjectRemovedDelete: