Skip to content

Commit

Permalink
Fix resolver when working with variants.
Browse files Browse the repository at this point in the history
  • Loading branch information
preslavgerchev committed Feb 23, 2024
1 parent cdbaa31 commit f04c64a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions policy/resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -1021,6 +1021,11 @@ func (cache *policyResolverCache) addCheckJob(ctx context.Context, check *explor
for uuid, rjAndId := range uuidToRjMap {
rj := rjAndId.Rj
qrId := rjAndId.QrId
// NOTE: for variants, the code id is empty. if we have an empty qrId, the executor panics
// this can go away once we transition to reporting by MRN only.
if qrId == "" {
continue
}

if rj == nil {
rj = &ReportingJob{
Expand Down

0 comments on commit f04c64a

Please sign in to comment.