mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 17:14:08 +02:00
fix occ
This commit is contained in:
parent
13efe65b9e
commit
6f3320df05
1 changed files with 3 additions and 2 deletions
|
|
@ -402,12 +402,13 @@ impl Cloud {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub async fn occ<S: Into<String>>(
|
pub async fn occ<'a, S: Into<String> + From<&'a str>>(
|
||||||
&self,
|
&self,
|
||||||
docker: &Docker,
|
docker: &Docker,
|
||||||
cmd: Vec<S>,
|
mut cmd: Vec<S>,
|
||||||
output: Option<&mut Vec<u8>>,
|
output: Option<&mut Vec<u8>>,
|
||||||
) -> Result<ExitCode> {
|
) -> Result<ExitCode> {
|
||||||
|
cmd.insert(0, "occ".into());
|
||||||
self.exec_with_output(docker, cmd, output).await
|
self.exec_with_output(docker, cmd, output).await
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue