-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add perf_event to cgroups v1 #166
Conversation
use crate::cgroups::v1::Controller; | ||
use oci_spec::{LinuxResources}; | ||
use std::path::Path; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use anyhow::Result; |
@fbrv Sorry for the confusion. With that suggestion I meant that you should add the use "above", not literally in the trait implementation. |
My fault, I haven't properly checked the suggestion, still learning rust :) hopefully in the next contributions will not happens anymore |
@fbrv You need to run cargo fmt, otherwise the check will not succeed. |
Run multiple times but for some reason it did not catch any error. Reinstalled rust and now seems working |
🎉 |
No description provided.