File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -459,9 +459,18 @@ func (p *Plugin) GetEnvironmentsShortData(envIds []uid.ID) map[uid.ID]string {
459459 continue
460460 }
461461
462- partitionInfo .Devices = nil // don't return the full devices payload
463-
464- partitionInfoOut , err := json .Marshal (partitionInfo )
462+ // return everything except the devices
463+ partitionInfoPayload := & OdcPartitionInfo {
464+ 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 )
465474 if err != nil {
466475 continue
467476 }
You can’t perform that action at this time.
0 commit comments