1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 17:14:08 +02:00

enable running kaspersky tests

This commit is contained in:
Robin Appelman 2021-12-14 15:27:48 +01:00
commit abd37ff9a5
4 changed files with 21 additions and 8 deletions

View file

@ -157,7 +157,7 @@ pub async fn container_logs(docker: &Docker, container: &str, count: usize) -> R
pub struct ExitCode(i64);
impl ExitCode {
pub fn is_ok(&self) -> Result<()> {
pub fn to_result(&self) -> Result<()> {
match self.0 {
0 => Ok(()),
code => Err(Report::msg(format!(