mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-04-18 17:33:08 +08:00
style(rust): apply cargo fmt formatting
This commit is contained in:
@@ -223,9 +223,7 @@ impl ProviderService {
|
||||
// Normal mode: full switch with Live config write
|
||||
// Also clear stale takeover flag if proxy is not running but flag was set
|
||||
if is_takeover_flag && !is_proxy_running {
|
||||
log::warn!(
|
||||
"检测到代理接管标志残留(代理已停止),清除标志并执行正常切换"
|
||||
);
|
||||
log::warn!("检测到代理接管标志残留(代理已停止),清除标志并执行正常切换");
|
||||
// Clear stale takeover flag
|
||||
let _ = futures::executor::block_on(state.db.set_live_takeover_active(false));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user