mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-23 16:11:24 +01:00
fix: error log use wrong variable err (#18602)
Update manager.go Signed-off-by: MoonStrider <37744291+dyf991645@users.noreply.github.com>
This commit is contained in:
parent
e20e4401cb
commit
bf6389e6c8
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user