Skip to content

Commit 75efbe1

Browse files
committed
vmm: api: remove error message on VMM shutdown
On-behalf-of: SAP [email protected] Signed-off-by: Sebastian Eydam <[email protected]>
1 parent 3fe978e commit 75efbe1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

vmm/src/api/http/mod.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,8 +421,9 @@ impl HttpWorkerThreads {
421421
// Notify the HTTP server thread.
422422
response_event.write(1).ok();
423423
}
424-
Err(e) => {
425-
error!("HTTP worker thread {id}: error receiving request {e}");
424+
Err(_) => {
425+
// We assume that the other side of the channel
426+
// closed because the VMM received a shutdown request.
426427
break;
427428
}
428429
}

0 commit comments

Comments
 (0)