We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f2c4dd commit 6034108Copy full SHA for 6034108
nexus/types/src/inventory/display.rs
@@ -734,6 +734,24 @@ fn display_sleds(
734
}
735
736
737
+
738
+ let timesync = zones
739
+ .keys()
740
+ .find_map(|zone_id| collection.ntp_timesync.get(zone_id));
741
742
+ match timesync {
743
+ None => writeln!(
744
+ indent2,
745
+ "No information from NTP for this sled"
746
+ )?,
747
+ Some(ts) if ts.synced => {
748
+ writeln!(indent2, "NTP reports that time is synced")?
749
+ }
750
+ Some(_) => writeln!(
751
752
+ "NTP reports that time is NOT synced"
753
754
755
756
757
0 commit comments