Remove extraneous join error logging

pull/3653/head
Jason Wilder 2015-08-13 16:58:25 -06:00
parent 22550dce54
commit 3d203885f0
1 changed files with 1 additions and 3 deletions

View File

@ -343,7 +343,7 @@ func (s *Store) joinCluster() error {
for _, join := range s.peers {
res, err := s.rpc.join(s.RemoteAddr.String(), join)
if err != nil {
s.Logger.Printf("Join failed: %v", err)
s.Logger.Printf("Join node %v failed: %v: retrying...", join, err)
continue
}
@ -367,8 +367,6 @@ func (s *Store) joinCluster() error {
}
return nil
}
s.Logger.Printf("Join failed: retrying...")
time.Sleep(time.Second)
}
}