Skip to content

Commit

Permalink
more more mess
Browse files Browse the repository at this point in the history
  • Loading branch information
leon3s committed Jan 5, 2024
1 parent 24cc7e9 commit 2284c4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/nanocl_stubs/src/system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ impl FromStr for NativeEventAction {
fn from_str(s: &str) -> Result<Self, Self::Err> {
match s {
"create" => Ok(NativeEventAction::Create),
"patch" => Ok(NativeEventAction::Update),
"update" => Ok(NativeEventAction::Update),
"start" => Ok(NativeEventAction::Start),
"stop" => Ok(NativeEventAction::Stop),
"delete" => Ok(NativeEventAction::Delete),
Expand All @@ -103,7 +103,7 @@ impl std::fmt::Display for NativeEventAction {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
match self {
NativeEventAction::Create => write!(f, "create"),
NativeEventAction::Update => write!(f, "patch"),
NativeEventAction::Update => write!(f, "update"),
NativeEventAction::Start => write!(f, "start"),
NativeEventAction::Stop => write!(f, "stop"),
NativeEventAction::Delete => write!(f, "delete"),
Expand Down

0 comments on commit 2284c4f

Please sign in to comment.