feat(idlesleep): support container dependencies, including custom and docker depends_on, code refactor

This commit is contained in:
yusing
2025-06-04 23:26:38 +08:00
parent 22ab043e06
commit a39d527fc1
15 changed files with 507 additions and 152 deletions

View File

@@ -39,3 +39,10 @@ func Watchers() iter.Seq2[string, watcherDebug] {
}
}
}
func fmtErr(err error) string {
if err == nil {
return ""
}
return err.Error()
}