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