From c50be213ba969d5f02bcbcda034f9c37299754d0 Mon Sep 17 00:00:00 2001 From: occheung Date: Tue, 20 Aug 2024 16:57:56 +0800 Subject: [PATCH] remote pull_log: ignore last --- src/runtime/src/mgmt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/src/mgmt.rs b/src/runtime/src/mgmt.rs index c85bf7a..1ddd55b 100644 --- a/src/runtime/src/mgmt.rs +++ b/src/runtime/src/mgmt.rs @@ -239,7 +239,7 @@ mod remote_coremgmt { ) .await { - Ok(Packet::CoreMgmtGetLogReply { last, length, data }) => { + Ok(Packet::CoreMgmtGetLogReply { last: _, length, data }) => { write_chunk(stream, &data[..length as usize]).await?; }