huskies: merge 1014
This commit is contained in:
@@ -6,9 +6,7 @@
|
||||
//! stage back to the CRDT, and returns a [`TransitionFired`] event for
|
||||
//! downstream subscribers.
|
||||
|
||||
use super::{
|
||||
PipelineEvent, StoryId, TransitionFired, event_label, read_typed, stage_label, transition,
|
||||
};
|
||||
use super::{PipelineEvent, StoryId, TransitionFired, read_typed, transition};
|
||||
use chrono::Utc;
|
||||
|
||||
/// Error type for [`apply_transition`].
|
||||
@@ -91,14 +89,6 @@ pub fn apply_transition(
|
||||
at: Utc::now(),
|
||||
};
|
||||
|
||||
crate::slog!(
|
||||
"[pipeline/transition] #{}: {} + {} → {}",
|
||||
story_id,
|
||||
stage_label(&fired.before),
|
||||
event_label(&fired.event),
|
||||
stage_label(&fired.after),
|
||||
);
|
||||
|
||||
super::events::try_broadcast(&fired);
|
||||
Ok(fired)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user