Browse Source

fix error message

pull/2/head
Chris Lu 11 years ago
parent
commit
6f2d590617
  1. 2
      go/weed/weed_server/raft_server.go

2
go/weed/weed_server/raft_server.go

@ -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

Loading…
Cancel
Save