refactor(#1825): remove dead manager_port field from dashboard snapshot
This commit is contained in:
parent
527022c5f2
commit
4842a1ca1d
1 changed files with 1 additions and 3 deletions
|
|
@ -26,7 +26,7 @@ use tokio_stream::{Stream, StreamExt};
|
|||
|
||||
use crate::container_view::{ContainerView, claude_has_session};
|
||||
use crate::coordinator::Coordinator;
|
||||
use crate::lifecycle::{self, MANAGER_NAME};
|
||||
use crate::lifecycle;
|
||||
use chrono::{DateTime, Utc};
|
||||
|
||||
mod approvals;
|
||||
|
|
@ -266,7 +266,6 @@ struct StateSnapshot {
|
|||
/// "apply everything you've buffered".
|
||||
seq: u64,
|
||||
hostname: String,
|
||||
manager_port: u16,
|
||||
any_stale: bool,
|
||||
containers: Vec<ContainerView>,
|
||||
transients: Vec<TransientView>,
|
||||
|
|
@ -597,7 +596,6 @@ async fn api_state(headers: HeaderMap, State(state): State<AppState>) -> axum::J
|
|||
axum::Json(StateSnapshot {
|
||||
seq,
|
||||
hostname,
|
||||
manager_port: lifecycle::agent_web_port(MANAGER_NAME),
|
||||
any_stale,
|
||||
containers,
|
||||
transients,
|
||||
|
|
|
|||
Loading…
Reference in a new issue