mirror of
https://github.com/rustfs/rustfs.git
synced 2026-09-22 10:33:25 +00:00
test(heal): remove unused G14 put helper (#7705)
Remove the superseded ServiceUnavailable-only PUT helper after the G14 outage PUT probe switched to the shared retry classifier. Co-authored-by: zhi22915 <qiuzgang@gmail.com>
This commit is contained in:
@@ -681,10 +681,6 @@ mod tests {
|
||||
&& operations["activeBySource"]["admin"].as_u64() == Some(1)
|
||||
}
|
||||
|
||||
fn is_service_unavailable_put(error: &SdkError<PutObjectError>) -> bool {
|
||||
error.as_service_error().and_then(ProvideErrorMetadata::code) == Some("ServiceUnavailable")
|
||||
}
|
||||
|
||||
fn is_retryable_outage_put(error: &SdkError<PutObjectError>) -> bool {
|
||||
matches!(
|
||||
error.as_service_error().and_then(ProvideErrorMetadata::code),
|
||||
|
||||
Reference in New Issue
Block a user