bugfix: fix a bug that role and role sons when handle error (#2840)

Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
This commit is contained in:
zuoxuesong-worker 2025-11-07 12:21:22 +08:00 committed by GitHub
parent 07af071c88
commit a8cb828b6f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -53,7 +53,7 @@ func (e roleExecutor) Exec(ctx context.Context) error {
ignoreErrors: e.ignoreErrors,
blocks: e.role.Block,
role: e.role.Role,
when: e.role.When.Data,
when: e.dealWhen(e.role.When),
tags: e.tags,
}.Exec(ctx))
}