Skip to content

Commit

Permalink
fix: adding missing mapping for unassigned status from public dashboa…
Browse files Browse the repository at this point in the history
…rd (#379)

Co-authored-by: Saša Tomić <[email protected]>
  • Loading branch information
NikolaMilosa and sasa-tomic authored May 16, 2024
1 parent 2ab31fb commit 2e14819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rs/ic-management-types/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ pub enum Status {
impl Status {
pub fn from_str_from_dashboard(s: &str) -> Self {
match s {
"UP" => Self::Healthy,
"UP" | "UNASSIGNED" => Self::Healthy,
"DEGRADED" => Self::Degraded,
"DOWN" => Self::Dead,
_ => Self::Unknown,
Expand Down

0 comments on commit 2e14819

Please sign in to comment.