mirror of
https://github.com/block/buzz.git
synced 2026-11-15 22:02:04 +00:00
fix(desktop): satisfy agent restart clippy
Co-authored-by: klopez4212 <klopez4212@gmail.com> Signed-off-by: klopez4212 <klopez4212@gmail.com>
This commit is contained in:
parent
6037615694
commit
b3e0113762
@@ -322,7 +322,7 @@ async fn restart_setup_mode_agents_after_install(
|
||||
&global,
|
||||
);
|
||||
let now_ready = matches!(agent_readiness(&effective), AgentReadiness::Ready);
|
||||
let pid_alive = pid.is_some_and(|p| crate::managed_agents::process_is_running(p));
|
||||
let pid_alive = pid.is_some_and(crate::managed_agents::process_is_running);
|
||||
should_restart_after_install(
|
||||
is_local,
|
||||
pid_alive,
|
||||
|
||||
Reference in New Issue
Block a user