mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix error message
This commit is contained in:
parent
c169429c33
commit
6f2d590617
|
@ -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…
Reference in a new issue