mirror of
https://github.com/kubesphere/kubekey.git
synced 2025-12-26 01:22:51 +00:00
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:
parent
07af071c88
commit
a8cb828b6f
|
|
@ -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))
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue