Skip to content

Commit

Permalink
chore: more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
olix0r committed Jan 4, 2025
1 parent f2e400b commit e114a8f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions kubert/src/admin/diagnostics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pub(crate) struct Diagnostics {
pub(crate) struct WatchDiagnostics(Arc<RwLock<WatchState>>);

#[derive(Clone, Debug)]
pub(super) struct WatchState {
struct WatchState {
api_url: String,
label_selector: String,
stats: WatchStats,
Expand All @@ -25,9 +25,11 @@ pub(super) struct WatchState {
}

#[derive(Clone, Debug, serde::Serialize)]
pub(super) struct Summary {
struct Summary {
initial_timestamp: Time,
current_timestamp: Time,

#[serde(skip_serializing_if = "Vec::is_empty")]
watches: Vec<WatchSummary>,
}

Expand Down

0 comments on commit e114a8f

Please sign in to comment.