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

switch to minio for s3

This commit is contained in:
Robin Appelman 2023-06-13 20:28:34 +02:00
commit ce6f5c0d4c
5 changed files with 28 additions and 28 deletions

View file

@ -172,6 +172,10 @@ pub async fn container_logs(
pub struct ExitCode(i64);
impl ExitCode {
pub fn is_ok(&self) -> bool {
self.0 == 0
}
pub fn to_result(&self) -> Result<()> {
match self.0 {
0 => Ok(()),