Replication: Enforce DeleteMarker disable setting (#11720)

This PR also enforces DeleteReplication
disable setting
This commit is contained in:
Poorna Krishnamoorthy
2021-03-13 10:28:35 -08:00
committed by GitHub
parent 7fa3e4106b
commit 5e003549cc
5 changed files with 337 additions and 19 deletions

View File

@@ -108,7 +108,7 @@ var (
errInvalidRuleStatus = Errorf("Status must be set to either Enabled or Disabled")
errDeleteMarkerReplicationMissing = Errorf("DeleteMarkerReplication must be specified")
errPriorityMissing = Errorf("Priority must be specified")
errInvalidDeleteMarkerReplicationStatus = Errorf("Delete marker replication is currently not supported")
errInvalidDeleteMarkerReplicationStatus = Errorf("Delete marker replication status is invalid")
errDestinationSourceIdentical = Errorf("Destination bucket cannot be the same as the source bucket.")
errDeleteReplicationMissing = Errorf("Delete replication must be specified")
errInvalidDeleteReplicationStatus = Errorf("Delete replication is either enable|disable")