mirror of
https://github.com/simon-ding/polaris.git
synced 2026-05-31 06:57:43 +08:00
fix: not exist
This commit is contained in:
@@ -25,7 +25,7 @@ func (s *Server) checkTasks() {
|
|||||||
log.Infof("begin check tasks...")
|
log.Infof("begin check tasks...")
|
||||||
for id, t := range s.tasks {
|
for id, t := range s.tasks {
|
||||||
if !t.Exists() {
|
if !t.Exists() {
|
||||||
log.Infof("task no longer exists: %v", t.Name())
|
log.Infof("task no longer exists: %v", id)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
log.Infof("task (%s) percentage done: %d%%", t.Name(), t.Progress())
|
log.Infof("task (%s) percentage done: %d%%", t.Name(), t.Progress())
|
||||||
|
|||||||
Reference in New Issue
Block a user