File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed
packages/core/services/cluster/src/ops/datacenter/topology_get Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -44,12 +44,7 @@ impl TryFrom<ServerRow> for ServerRowStructured {
44
44
runtime : if let Some ( nomad_node_id) = value. nomad_node_id {
45
45
Runtime :: Nomad ( nomad_node_id)
46
46
} 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)
53
48
} else {
54
49
Runtime :: None
55
50
} ,
@@ -60,7 +55,6 @@ impl TryFrom<ServerRow> for ServerRowStructured {
60
55
#[ derive( Debug ) ]
61
56
enum Runtime {
62
57
Nomad ( String ) ,
63
- // Does not include pegboard isolate
64
58
Pegboard ( Uuid ) ,
65
59
// Other pool types
66
60
None ,
@@ -197,9 +191,9 @@ pub async fn cluster_datacenter_topology_get(
197
191
matches!(
198
192
server. pool_type,
199
193
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
203
197
)
204
198
} )
205
199
. collect:: <Vec <_>>( ) ;
You can’t perform that action at this time.
0 commit comments