Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
maksymar committed Jul 30, 2024
1 parent 05fea6b commit ad63bef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rs/types/management_canister_types/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,6 @@ impl Payload<'_> for UninstallCodeArgs {}
/// ```text
/// variant {
/// controllers;
/// allowed_viewers: vec principal;
/// public;
/// }
/// ```
Expand All @@ -786,7 +785,7 @@ pub enum LogVisibility {
#[default]
#[serde(rename = "controllers")]
Controllers,
#[serde(rename = "allowed_viewers")]
#[serde(rename = "public")]
Public,
}

Expand Down Expand Up @@ -841,6 +840,7 @@ impl From<pb_canister_state_bits::LogVisibilityV2> for LogVisibility {
pb::LogVisibilityEnum::Unspecified => Self::default(),
pb::LogVisibilityEnum::Controllers => Self::Controllers,
pb::LogVisibilityEnum::Public => Self::Public,
pb::LogVisibilityEnum::AllowedViewers => Self::default(),
},
}
}
Expand Down

0 comments on commit ad63bef

Please sign in to comment.