mirror of https://github.com/hashicorp/consul
ci: test-integrations failures in compatibility tests. panics occuring in selectionTracker.TrackIDForSelection
parent
62a07b4204
commit
2b3b309d34
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue