mirror of
https://github.com/minio/minio.git
synced 2025-11-06 20:33:07 -05:00
fix: consistent replies for incorrect range requests on replicated buckets (#14345)
Propagate error from replication proxy target correctly to the client if range GET is unsatisfiable.
This commit is contained in:
@@ -701,3 +701,7 @@ func isErrMethodNotAllowed(err error) bool {
|
||||
var methodNotAllowed MethodNotAllowed
|
||||
return errors.As(err, &methodNotAllowed)
|
||||
}
|
||||
|
||||
func isErrInvalidRange(err error) bool {
|
||||
return errors.As(err, &errInvalidRange)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user