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 30a86a1 commit 0873e92Copy full SHA for 0873e92
nexus-sled-agent-shared/src/inventory.rs
@@ -944,6 +944,11 @@ impl OmicronZoneType {
944
}
945
946
947
+ /// Identifies whether this is a boundary NTP zone
948
+ pub fn is_boundary_ntp(&self) -> bool {
949
+ matches!(self, OmicronZoneType::BoundaryNtp { .. })
950
+ }
951
+
952
/// Identifies whether this is a Nexus zone
953
pub fn is_nexus(&self) -> bool {
954
match self {
0 commit comments