We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7dfa17d commit 2e548c7Copy full SHA for 2e548c7
1 file changed
core/integration/odc/plugin.go
@@ -459,9 +459,18 @@ func (p *Plugin) GetEnvironmentsShortData(envIds []uid.ID) map[uid.ID]string {
459
continue
460
}
461
462
- partitionInfo.Devices = nil // don't return the full devices payload
463
-
464
- partitionInfoOut, err := json.Marshal(partitionInfo)
+ // return everything except the devices
+ partitionInfoPayload := &OdcPartitionInfo{
+ PartitionId: partitionInfo.PartitionId,
465
+ RunNumber: partitionInfo.RunNumber,
466
+ State: partitionInfo.State,
467
+ EcsState: partitionInfo.EcsState,
468
+ DdsSessionId: partitionInfo.DdsSessionId,
469
+ DdsSessionStatus: partitionInfo.DdsSessionStatus,
470
+ Hosts: partitionInfo.Hosts,
471
+ }
472
+
473
+ partitionInfoOut, err := json.Marshal(partitionInfoPayload)
474
if err != nil {
475
476
0 commit comments