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 <[email protected]> * finish systemd manager except for the CgroupManager impl Signed-off-by: squili <[email protected]> * refactor controller traits to be internal Signed-off-by: squili <[email protected]> * convert v1 controllers to thiserror Signed-off-by: squili <[email protected]> * convert v2 controllers to thiserror Signed-off-by: squili <[email protected]> * make StatsProvider an internal trait Signed-off-by: squili <[email protected]> * replace v1 stats provider anyhow with thiserror Signed-off-by: squili <[email protected]> * remove anyhow from v2 stats providers Signed-off-by: squili <[email protected]> * fix lints Signed-off-by: squili <[email protected]> * get rid of doc test error Signed-off-by: squili <[email protected]> * convert managers from anyhow to thiserror Signed-off-by: squili <[email protected]> * fix lints Signed-off-by: squili <[email protected]> * get rid of the rest of the references to anyhow Signed-off-by: squili <[email protected]> * AnyManager -> AnyCgroupManager Signed-off-by: squili <[email protected]> * fix formatting Signed-off-by: squili <[email protected]> * fix lint in libcgroups devices Signed-off-by: squili <[email protected]> --------- Signed-off-by: squili <[email protected]>
- Loading branch information