From 7e8e25d4ef1a0eae3804377822921ba7a291ae51 Mon Sep 17 00:00:00 2001 From: Peter Jiang <2892084432j@gmail.com> Date: Mon, 17 Jun 2024 20:53:03 -0400 Subject: [PATCH] emergency fix: regular instance not fetched correctly if docker is unavai --- core/src/handlers/instance.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/handlers/instance.rs b/core/src/handlers/instance.rs index 1b8779e6..ffa9553a 100644 --- a/core/src/handlers/instance.rs +++ b/core/src/handlers/instance.rs @@ -39,7 +39,7 @@ pub async fn get_instance_list( } } let docker_bridge = state.docker_bridge.clone(); - let vec = docker_bridge.list_containers().await?; + let vec = docker_bridge.list_containers().await.unwrap_or_default(); list_of_configs.extend(vec);