Skip to content

Commit

Permalink
fix: error log use wrong variable err (#18602)
Browse files Browse the repository at this point in the history
Update manager.go

Signed-off-by: MoonStrider <37744291+dyf991645@users.noreply.github.com>
  • Loading branch information
dyf991645 authored Apr 26, 2023
1 parent e20e440 commit bf6389e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jobservice/mgt/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ func (bm *basicManager) GetPeriodicExecution(pID string, q *query.Parameter) (re
for _, eID := range executionIDs {
t := job.NewBasicTrackerWithID(bm.ctx, eID, bm.namespace, bm.pool, nil, nil)
if er := t.Load(); er != nil {
logger.Errorf("track job %s error: %s", eID, err)
logger.Errorf("track job %s error: %s", eID, er)
continue
}

Expand Down

0 comments on commit bf6389e

Please sign in to comment.