Skip to content

Commit 6191c36

Browse files
update flight port in node metadata (#1623)
1 parent 6dcf7bb commit 6191c36

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/handlers/http/modal/mod.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,15 @@ impl NodeMetadata {
460460
meta.token = token;
461461
}
462462

463+
let flight_port = options.flight_port.to_string();
464+
if meta.flight_port != flight_port {
465+
info!(
466+
"Flight Port was Updated. Old: {} New: {}",
467+
meta.flight_port, flight_port
468+
);
469+
meta.flight_port = flight_port;
470+
}
471+
463472
meta.node_type = node_type;
464473
}
465474

0 commit comments

Comments
 (0)