We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dd87db6 + 947f4e9 commit aac9e29Copy full SHA for aac9e29
cmd_delay.go
@@ -44,6 +44,11 @@ func (cmd *DelayCommand) Prepare() error {
44
ToID: delayedStateCtx.Current.Transition.ToID,
45
Annotations: nil,
46
}
47
+
48
+ if Paused(delayedStateCtx.Current) {
49
+ nextTs.SetAnnotation(StateAnnotation, `resumed`)
50
+ }
51
52
nextTs.SetAnnotation(DelayAtAnnotation, time.Now().Format(time.RFC3339Nano))
53
nextTs.SetAnnotation(DelayDurationAnnotation, cmd.Duration.String())
54
nextTs.SetAnnotation(DelayCommitAnnotation, fmt.Sprintf("%v", cmd.Commit))
0 commit comments