fix error message

This commit is contained in:
Chris Lu 2014-03-12 06:23:07 -07:00
parent c169429c33
commit 6f2d590617

View file

@ -133,7 +133,7 @@ func (s *RaftServer) Join(peers []string) error {
err := postFollowingOneRedirect(target, "application/json", &b)
if err != nil {
glog.V(0).Infoln("Post returned error: ", err)
glog.V(0).Infoln("Post returned error: ", err.Error())
if _, ok := err.(*url.Error); ok {
// If we receive a network error try the next member
continue