mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-08 10:27:46 +08:00
fix(ci): satisfy gateway clippy on upstream baseline
This commit is contained in:
@@ -148,7 +148,7 @@ pub(super) fn build_stream_failure_from_execution_error(
|
||||
error: &ExecutionError,
|
||||
) -> StreamFailureReport {
|
||||
let transport_error = execution_error_is_transport(error);
|
||||
let status_code = error.upstream_status.unwrap_or_else(|| {
|
||||
let status_code = error.upstream_status.unwrap_or({
|
||||
if matches!(
|
||||
error.kind,
|
||||
ExecutionErrorKind::ConnectTimeout
|
||||
|
||||
Reference in New Issue
Block a user