Skip to content

Commit f60b9d3

Browse files
Sushisourcemjameswh
authored andcommitted
Fix typo in child workflow determinism error (#590)
(cherry picked from commit daa5c2c)
1 parent 87af320 commit f60b9d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/worker/workflow/machines/child_workflow_state_machine.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,14 +235,14 @@ impl StartCommandCreated {
235235
if event_dat.wf_id != state.workflow_id {
236236
return TransitionResult::Err(WFMachinesError::Nondeterminism(format!(
237237
"Child workflow id of scheduled event '{}' does not \
238-
match child workflow id of activity command '{}'",
238+
match child workflow id of command '{}'",
239239
event_dat.wf_id, state.workflow_id
240240
)));
241241
}
242242
if event_dat.wf_type != state.workflow_type {
243243
return TransitionResult::Err(WFMachinesError::Nondeterminism(format!(
244244
"Child workflow type of scheduled event '{}' does not \
245-
match child workflow type of activity command '{}'",
245+
match child workflow type of command '{}'",
246246
event_dat.wf_type, state.workflow_type
247247
)));
248248
}

0 commit comments

Comments
 (0)