From 8fc503716e84db72e686f74aefae05926ae6067d Mon Sep 17 00:00:00 2001 From: Poorna Krishnamoorthy Date: Wed, 8 Jun 2022 11:09:25 -0700 Subject: [PATCH] Fix typo in replication status --- api-datatypes.go | 2 +- api-put-object.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api-datatypes.go b/api-datatypes.go index 2f5912f37..09b03af26 100644 --- a/api-datatypes.go +++ b/api-datatypes.go @@ -135,7 +135,7 @@ type ObjectInfo struct { VersionID string `xml:"VersionId"` // x-amz-replication-status value is either in one of the following states - // - COMPLETE + // - COMPLETED // - PENDING // - FAILED // - REPLICA (on the destination) diff --git a/api-put-object.go b/api-put-object.go index 0dc77e6c3..181f1a943 100644 --- a/api-put-object.go +++ b/api-put-object.go @@ -40,7 +40,7 @@ const ( // ReplicationStatusPending indicates replication is pending ReplicationStatusPending ReplicationStatus = "PENDING" // ReplicationStatusComplete indicates replication completed ok - ReplicationStatusComplete ReplicationStatus = "COMPLETE" + ReplicationStatusComplete ReplicationStatus = "COMPLETED" // ReplicationStatusFailed indicates replication failed ReplicationStatusFailed ReplicationStatus = "FAILED" // ReplicationStatusReplica indicates object is a replica of a source