Skip to content

Commit

Permalink
Update go/vt/discovery/topology_watcher.go
Browse files Browse the repository at this point in the history
Co-authored-by: Shlomi Noach <[email protected]>
Signed-off-by: Tim Vaillancourt <[email protected]>
  • Loading branch information
timvaillancourt and shlomi-noach authored Jun 2, 2024
1 parent 2f7a0a1 commit 7e38cf1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion go/vt/discovery/topology_watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,8 @@ func NewFilterByTabletTags(tabletTags map[string]string) *FilterByTabletTags {
func (fbtg *FilterByTabletTags) IsIncluded(tablet *topodata.Tablet) bool {
if fbtg.tags == nil {
return true
} else if tablet.Tags == nil {
}
if tablet.Tags == nil {
return false
}
for key, val := range fbtg.tags {
Expand Down

0 comments on commit 7e38cf1

Please sign in to comment.