From 47a764553d35b762b1318716e2297b502d27ccfa Mon Sep 17 00:00:00 2001 From: Conrad Irwin Date: Fri, 18 Oct 2024 15:57:00 -0600 Subject: [PATCH] Revert "remote: Fix formatting (#19438)" This reverts commit 47380001cce322381c8f0d47323d10169ce69009. --- crates/remote/src/ssh_session.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/crates/remote/src/ssh_session.rs b/crates/remote/src/ssh_session.rs index 74ee837e46584..e4d292d2f8c8b 100644 --- a/crates/remote/src/ssh_session.rs +++ b/crates/remote/src/ssh_session.rs @@ -1591,16 +1591,14 @@ impl ChannelClient { buffer.pop_front(); } } - if let Some(proto::envelope::Payload::FlushBufferedMessages(_)) = - &incoming.payload - { + if let Some(proto::envelope::Payload::FlushBufferedMessages(_)) = &incoming.payload { { let buffer = this.buffer.lock(); for envelope in buffer.iter() { this.outgoing_tx.unbounded_send(envelope.clone()).ok(); } } - let response = proto::Ack {}.into_envelope(0, Some(incoming.id), None); + let response = proto::Ack{}.into_envelope(0, Some(incoming.id), None); this.send_dynamic(response).ok(); continue; }