1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 09:04:12 +02:00

bumb localstack version

This commit is contained in:
Robin Appelman 2022-06-21 16:02:49 +02:00
commit a966ed1073

View file

@ -18,8 +18,8 @@ pub enum ObjectStore {
impl ObjectStore { impl ObjectStore {
fn image(&self) -> &str { fn image(&self) -> &str {
match self { match self {
ObjectStore::S3 => "localstack/localstack:0.12.7", ObjectStore::S3 => "localstack/localstack:0.14.3",
ObjectStore::S3mb => "localstack/localstack:0.12.7", ObjectStore::S3mb => "localstack/localstack:0.14.3",
} }
} }
@ -109,7 +109,7 @@ impl ServiceTrait for ObjectStore {
) )
.await?; .await?;
let output = String::from_utf8(output).into_diagnostic()?; let output = String::from_utf8(output).into_diagnostic()?;
Ok(output.contains(r#""s3": "running""#)) Ok(output.contains(r#""s3": "running""#) || output.contains(r#""s3": "available""#))
} }
fn container_name(&self, cloud_id: &str) -> String { fn container_name(&self, cloud_id: &str) -> String {