Update selection_tracker.go

pull/20040/head
John Murret 2023-12-21 16:53:44 -07:00
parent 2b3b309d34
commit 1740fe71a0
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ 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 {
if selector == nil {
return
}