1
0
mirror of https://github.com/kata-containers/kata-containers.git synced 2025-11-05 04:32:07 +00:00

agent: Fix compiler checks

Remove unneeded return statement.

Fixes 

Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
This commit is contained in:
Chelsea Mafrica
2021-05-03 18:30:40 -07:00
parent f859f8af22
commit afe4df0449

@@ -1203,7 +1203,7 @@ impl protocols::agent_ttrpc::AgentService for agentService {
drop(sandbox);
match event_rx.recv() {
Err(err) => return Err(ttrpc_error(ttrpc::Code::INTERNAL, err.to_string())),
Err(err) => Err(ttrpc_error(ttrpc::Code::INTERNAL, err.to_string())),
Ok(container_id) => {
info!(sl!(), "get_oom_event return {}", &container_id);
let mut resp = OOMEvent::new();