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:
parent
b726358e60
commit
ce6f5c0d4c
5 changed files with 28 additions and 28 deletions
|
|
@ -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(()),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue