remote pull_log: ignore last

This commit is contained in:
occheung 2024-08-20 16:57:56 +08:00
parent 844c083ee4
commit c50be213ba
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ mod remote_coremgmt {
) )
.await .await
{ {
Ok(Packet::CoreMgmtGetLogReply { last, length, data }) => { Ok(Packet::CoreMgmtGetLogReply { last: _, length, data }) => {
write_chunk(stream, &data[..length as usize]).await?; write_chunk(stream, &data[..length as usize]).await?;
} }