mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-14 11:26: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)
|
err := postFollowingOneRedirect(target, "application/json", &b)
|
||||||
|
|
||||||
if err != nil {
|
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 _, ok := err.(*url.Error); ok {
|
||||||
// If we receive a network error try the next member
|
// If we receive a network error try the next member
|
||||||
continue
|
continue
|
||||||
|
Reference in New Issue
Block a user