Skip to content

Commit

Permalink
Merge pull request #603 from elliotwms/patch-1
Browse files Browse the repository at this point in the history
Fix spelling of deregisters
  • Loading branch information
peterbourgon authored Aug 16, 2017
2 parents bcc4b77 + d3c6931 commit bd8e098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sd/endpointer.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func (de *DefaultEndpointer) receive() {
}
}

// Close de-registeres DefaultEndpointer from the Instancer and stops the internal go-routine.
// Close deregisters DefaultEndpointer from the Instancer and stops the internal go-routine.
func (de *DefaultEndpointer) Close() {
de.instancer.Deregister(de.ch)
close(de.ch)
Expand Down

0 comments on commit bd8e098

Please sign in to comment.