1
0
Fork 0

Don't ignore Join error, actually return it

Clearly a typo.
master
Philip O'Toole 5 years ago committed by GitHub
parent 2337bdba95
commit 7352c376c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -660,7 +660,7 @@ func (s *Store) Join(addr string) error {
if e.Error() == raft.ErrNotLeader {
return ErrNotLeader
}
e.Error()
return e.Error()
}
s.logger.Printf("node at %s joined successfully", addr)
return nil

Loading…
Cancel
Save