mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-14 06:46:19 +08:00
fix error message
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user