mirror of
https://github.com/vee1e/kubeedge.git
synced 2026-09-01 18:27:38 +00:00
fix: adjust taskmanager ReportActionStatus parameter order
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
This commit is contained in:
parent
b95714a56b
commit
19f635f2ce
1 changed files with 1 additions and 1 deletions
|
|
@ -150,7 +150,7 @@ func (r *ActionRunner) RunAction(ctx context.Context, jobname, nodename, action
|
|||
actionFn, err := r.mustGetAction(act.Name)
|
||||
if err != nil {
|
||||
logger.Error(err, "failed to get action handler, report to cloud")
|
||||
r.ReportActionStatus(act.Name, jobname, nodename, &baseActionResponse{err: err})
|
||||
r.ReportActionStatus(jobname, nodename, act.Name, &baseActionResponse{err: err})
|
||||
return
|
||||
}
|
||||
resp := actionFn(ctx, jobname, nodename, ser)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue