Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DO NOT MERGE [core] OCTRL-921 Add env ID to DCS SOR and EOR requests #612

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions core/integration/dcs/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -1238,9 +1238,10 @@ 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)),
RunType: rt,
RunNumber: int32(runNumber64),
Detectors: make([]*dcspb.DetectorOperationRequest, len(dcsDetectors)),
PartitionId: envId,
}
for i, dcsDet := range dcsDetectors {
ecsDet := dcsToEcsDetector(dcsDet)
Expand Down Expand Up @@ -1770,8 +1771,9 @@ 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)),
RunNumber: int32(runNumber64),
Detectors: make([]*dcspb.DetectorOperationRequest, len(dcsDetectors)),
PartitionId: envId,
}
for i, dcsDet := range dcsDetectors {
ecsDet := dcsToEcsDetector(dcsDet)
Expand Down
Loading
Loading