This commit is contained in:
Travis Turner 2018-07-10 13:32:04 -05:00 committed by GitHub
parent 4013cccb30
commit d24fb4e719
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,7 +93,7 @@ func (g *memberSet) Open() (err error) {
return nil
}
// Close attempts to gracefully leaves the cluster, and finally calls shutdown
// Close attempts to gracefully leave the cluster, and finally calls shutdown
// after (at most) a timeout period.
func (g *memberSet) Close() error {
leaveErr := g.memberlist.Leave(5 * time.Second)