fix: improve error messages returned during replication setup (#13261)

This commit is contained in:
Poorna Krishnamoorthy
2021-09-21 16:03:20 -04:00
committed by GitHub
parent 1fa0553c71
commit 806b10b934
6 changed files with 15 additions and 24 deletions

View File

@@ -400,13 +400,6 @@ func (e BucketRemoteDestinationNotFound) Error() string {
return "Destination bucket does not exist: " + e.Bucket
}
// BucketReplicationDestinationMissingLock bucket does not have object lock enabled.
type BucketReplicationDestinationMissingLock GenericError
func (e BucketReplicationDestinationMissingLock) Error() string {
return "Destination bucket does not have object lock enabled: " + e.Bucket
}
// BucketRemoteTargetNotFound remote target does not exist.
type BucketRemoteTargetNotFound GenericError