mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-05-07 10:14:35 +00:00
feat(gui): GUI add support to connect to config server (#1596)
This commit is contained in:
@@ -110,11 +110,12 @@ where
|
||||
// collect networks that are disabled
|
||||
let disabled_inst_ids = self
|
||||
.get_storage()
|
||||
.list_network_configs(identify, ListNetworkProps::DisabledOnly)
|
||||
.list_network_configs(identify, ListNetworkProps::All)
|
||||
.await
|
||||
.map_err(RemoteClientError::PersistentError)?
|
||||
.iter()
|
||||
.map(|x| Into::<crate::proto::common::Uuid>::into(x.get_network_inst_id().to_string()))
|
||||
.filter(|id| !ret.inst_ids.contains(id))
|
||||
.collect::<Vec<_>>();
|
||||
|
||||
Ok(ListNetworkInstanceIdsJsonResp {
|
||||
|
||||
Reference in New Issue
Block a user