Skip to content

Commit

Permalink
patch to fix tiny issues
Browse files Browse the repository at this point in the history
Signed-off-by: clux <sszynrae@gmail.com>
  • Loading branch information
clux committed May 13, 2022
1 parent 6c4a7ad commit 607d824
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "controller"
version = "0.12.0"
version = "0.12.1"
authors = ["clux <sszynrae@gmail.com>"]
edition = "2021"
default-run = "controller"
Expand Down
6 changes: 3 additions & 3 deletions src/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ async fn reconcile(doc: Arc<Document>, ctx: Context<Data>) -> Result<Action, Err
recorder
.publish(Event {
type_: EventType::Normal,
reason: "BadDocument".into(),
note: Some(format!("Sending `{}` to detention", name)),
action: "Correcting".into(),
reason: "HiddenDoc".into(),
note: Some(format!("Hiding `{}`", name)),
action: "Reconciling".into(),
secondary: None,
})
.await
Expand Down

0 comments on commit 607d824

Please sign in to comment.