agent: Remove redundant returns

Remove an unnecessary `return` statement identified by clippy.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
James O. D. Hunt 2021-11-24 11:42:04 +00:00
parent adab64349c
commit bd3217daeb

View File

@ -140,7 +140,7 @@ fn update_agent_metrics() -> Result<()> {
Ok(status) => set_gauge_vec_proc_status(&AGENT_PROC_STATUS, &status),
}
return Ok(());
Ok(())
}
#[instrument]