Skip to content

Commit

Permalink
Removed redundant if clause
Browse files Browse the repository at this point in the history
  • Loading branch information
0x6e6562 committed Aug 14, 2014
1 parent 69b02aa commit 30800ee
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions host_source.go
Expand Up @@ -70,9 +70,6 @@ func (r *ringDescriber) GetHosts() ([]HostInfo, error) {
}

func (r *ringDescriber) matchFilter(host *HostInfo) bool {
if r.dcFilter == "" && r.rackFilter == "" {
return true
}

if r.dcFilter != "" && r.dcFilter != host.DataCenter {
return false
Expand Down

0 comments on commit 30800ee

Please sign in to comment.