File tree Expand file tree Collapse file tree
packages/core/services/cluster/src/ops/datacenter/topology_get Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,12 +44,7 @@ impl TryFrom<ServerRow> for ServerRowStructured {
4444 runtime : if let Some ( nomad_node_id) = value. nomad_node_id {
4545 Runtime :: Nomad ( nomad_node_id)
4646 } else if let Some ( pegboard_client_id) = value. pegboard_client_id {
47- if let PoolType :: Pegboard = pool_type {
48- Runtime :: Pegboard ( pegboard_client_id)
49- } else {
50- // Pegboard isolate
51- Runtime :: None
52- }
47+ Runtime :: Pegboard ( pegboard_client_id)
5348 } else {
5449 Runtime :: None
5550 } ,
@@ -60,7 +55,6 @@ impl TryFrom<ServerRow> for ServerRowStructured {
6055#[ derive( Debug ) ]
6156enum Runtime {
6257 Nomad ( String ) ,
63- // Does not include pegboard isolate
6458 Pegboard ( Uuid ) ,
6559 // Other pool types
6660 None ,
@@ -197,9 +191,9 @@ pub async fn cluster_datacenter_topology_get(
197191 matches!(
198192 server. pool_type,
199193 PoolType :: Gg
200- | PoolType :: Ats | PoolType :: PegboardIsolate
201- | PoolType :: Fdb | PoolType :: Worker
202- | PoolType :: Nats | PoolType :: Guard
194+ | PoolType :: Ats | PoolType :: Fdb
195+ | PoolType :: Worker | PoolType :: Nats
196+ | PoolType :: Guard
203197 )
204198 } )
205199 . collect:: <Vec <_>>( ) ;
You can’t perform that action at this time.
0 commit comments