mirror of
https://github.com/tuna/tunasync.git
synced 2025-06-14 13:32:43 +00:00
fix misuse of a variable
This commit is contained in:
parent
9178966aed
commit
7b0cd490b7
@ -189,7 +189,7 @@ func (m *mirrorJob) Run(managerChan chan<- jobMessage, semaphore chan empty) err
|
|||||||
syncErr = errors.New("killed by manager")
|
syncErr = errors.New("killed by manager")
|
||||||
}
|
}
|
||||||
if termErr != nil {
|
if termErr != nil {
|
||||||
logger.Errorf("failed to terminate provider %s: %s", m.Name(), err.Error())
|
logger.Errorf("failed to terminate provider %s: %s", m.Name(), termErr.Error())
|
||||||
return termErr
|
return termErr
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user