Skip to content

Commit

Permalink
Revert "[core] OCTRL-921 Add env ID to DCS SOR and EOR requests"
Browse files Browse the repository at this point in the history
This reverts commit 5ff7ecc.
  • Loading branch information
knopers8 committed Sep 18, 2024
1 parent 5ff7ecc commit 528e27a
Show file tree
Hide file tree
Showing 4 changed files with 145 additions and 171 deletions.
12 changes: 5 additions & 7 deletions core/integration/dcs/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -1238,10 +1238,9 @@ func (p *Plugin) CallStack(data interface{}) (stack map[string]interface{}) {

// Preparing the per-detector request payload
in := dcspb.SorRequest{
RunType: rt,
RunNumber: int32(runNumber64),
Detectors: make([]*dcspb.DetectorOperationRequest, len(dcsDetectors)),
PartitionId: envId,
RunType: rt,
RunNumber: int32(runNumber64),
Detectors: make([]*dcspb.DetectorOperationRequest, len(dcsDetectors)),
}
for i, dcsDet := range dcsDetectors {
ecsDet := dcsToEcsDetector(dcsDet)
Expand Down Expand Up @@ -1771,9 +1770,8 @@ func (p *Plugin) CallStack(data interface{}) (stack map[string]interface{}) {

// Preparing the per-detector request payload
in := dcspb.EorRequest{
RunNumber: int32(runNumber64),
Detectors: make([]*dcspb.DetectorOperationRequest, len(dcsDetectors)),
PartitionId: envId,
RunNumber: int32(runNumber64),
Detectors: make([]*dcspb.DetectorOperationRequest, len(dcsDetectors)),
}
for i, dcsDet := range dcsDetectors {
ecsDet := dcsToEcsDetector(dcsDet)
Expand Down
Loading

0 comments on commit 528e27a

Please sign in to comment.