Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/container/containerd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub struct Containerd {}

impl Container for Containerd {
fn lookup(&self, container_id: &str) -> Result<Pid> {
let command = format!("ctr task list");
let command = "ctr task list";
let output = tryfmt!(
Command::new("ctr").args(&["task", "list"]).output(),
"Running '{}' failed",
Expand Down
2 changes: 1 addition & 1 deletion src/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ impl CntrFs {
Ok(fd)
}

pub fn spawn_sessions<'a>(self) -> Result<Vec<JoinHandle<io::Result<()>>>> {
pub fn spawn_sessions(self) -> Result<Vec<JoinHandle<io::Result<()>>>> {
let mut sessions = Vec::new();

// numbers of sessions is optimized for cached read
Expand Down