Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adopt
thiserror
for libcgroups (#1872)
* convert systemd controllers to thiserror Signed-off-by: squili <74628488+squili@users.noreply.github.com> * finish systemd manager except for the CgroupManager impl Signed-off-by: squili <74628488+squili@users.noreply.github.com> * refactor controller traits to be internal Signed-off-by: squili <74628488+squili@users.noreply.github.com> * convert v1 controllers to thiserror Signed-off-by: squili <74628488+squili@users.noreply.github.com> * convert v2 controllers to thiserror Signed-off-by: squili <74628488+squili@users.noreply.github.com> * make StatsProvider an internal trait Signed-off-by: squili <74628488+squili@users.noreply.github.com> * replace v1 stats provider anyhow with thiserror Signed-off-by: squili <74628488+squili@users.noreply.github.com> * remove anyhow from v2 stats providers Signed-off-by: squili <74628488+squili@users.noreply.github.com> * fix lints Signed-off-by: squili <74628488+squili@users.noreply.github.com> * get rid of doc test error Signed-off-by: squili <74628488+squili@users.noreply.github.com> * convert managers from anyhow to thiserror Signed-off-by: squili <74628488+squili@users.noreply.github.com> * fix lints Signed-off-by: squili <74628488+squili@users.noreply.github.com> * get rid of the rest of the references to anyhow Signed-off-by: squili <74628488+squili@users.noreply.github.com> * AnyManager -> AnyCgroupManager Signed-off-by: squili <74628488+squili@users.noreply.github.com> * fix formatting Signed-off-by: squili <74628488+squili@users.noreply.github.com> * fix lint in libcgroups devices Signed-off-by: squili <74628488+squili@users.noreply.github.com> --------- Signed-off-by: squili <74628488+squili@users.noreply.github.com>
- Loading branch information