mirror of https://github.com/hashicorp/consul
Update selection_tracker.go
parent
2b3b309d34
commit
1740fe71a0
|
@ -72,7 +72,7 @@ func (t *WorkloadSelectionTracker) GetIDsForWorkload(id *pbresource.ID) []*pbres
|
||||||
// TrackIDForSelector will associate workloads matching the specified workload
|
// TrackIDForSelector will associate workloads matching the specified workload
|
||||||
// selector with the given resource id.
|
// selector with the given resource id.
|
||||||
func (t *WorkloadSelectionTracker) TrackIDForSelector(id *pbresource.ID, selector *pbcatalog.WorkloadSelector) {
|
func (t *WorkloadSelectionTracker) TrackIDForSelector(id *pbresource.ID, selector *pbcatalog.WorkloadSelector) {
|
||||||
if selector != nil {
|
if selector == nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue