Skip to content

Commit

Permalink
Update registration_db.go
Browse files Browse the repository at this point in the history
  • Loading branch information
yc90s authored Oct 12, 2017
1 parent 27499a5 commit 1543cfe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nsqlookupd/registration_db.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ func (r *RegistrationDB) AddProducer(k Registration, p *Producer) bool {
for _, producer := range producers {
if producer.peerInfo.id == p.peerInfo.id {
found = true
break
}
}
if found == false {
Expand Down

0 comments on commit 1543cfe

Please sign in to comment.