style(proxy-nodes): 统一缩进并移除未使用的 confirmWarning 引用

This commit is contained in:
fawney19
2026-04-19 13:46:21 +08:00
parent 7007d7a556
commit 97cd877ce5
3 changed files with 58 additions and 54 deletions

View File

@@ -1516,7 +1516,10 @@ async fn gateway_still_dispatches_upgrade_targets_to_draining_proxy_nodes() {
.expect("json body should parse");
assert_eq!(upgrade_payload["eligible_total"], 2);
assert_eq!(upgrade_payload["updated"], 2);
assert_eq!(upgrade_payload["node_ids"], json!(["node-alpha", "node-zeta"]));
assert_eq!(
upgrade_payload["node_ids"],
json!(["node-alpha", "node-zeta"])
);
let list_response_after_upgrade = client
.get(format!(