Skip to content

Commit

Permalink
NET-7025 - ci: test-integrations failures in compatibility tests. pan…
Browse files Browse the repository at this point in the history
…ics occuring in selectionTracker.TrackIDForSelection (#20040)

* ci: test-integrations failures in compatibility tests. panics occuring in selectionTracker.TrackIDForSelection

* Update selection_tracker.go
  • Loading branch information
jmurret authored Dec 22, 2023
1 parent 62a07b4 commit b9ad0df
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ func (t *WorkloadSelectionTracker) GetIDsForWorkload(id *pbresource.ID) []*pbres
// TrackIDForSelector will associate workloads matching the specified workload
// selector with the given resource id.
func (t *WorkloadSelectionTracker) TrackIDForSelector(id *pbresource.ID, selector *pbcatalog.WorkloadSelector) {
if selector == nil {
return
}

t.lock.Lock()
defer t.lock.Unlock()

Expand Down

0 comments on commit b9ad0df

Please sign in to comment.