Formats log messages to be consistent.

This commit is contained in:
James Phillips 2016-07-29 11:29:59 -07:00
parent 6b157eada0
commit fc25145e85
No known key found for this signature in database
GPG Key ID: 77183E682AC5FC11
1 changed files with 2 additions and 2 deletions

View File

@ -562,11 +562,11 @@ func (s *Server) Shutdown() error {
s.raftLayer.Close()
future := s.raft.Shutdown()
if err := future.Error(); err != nil {
s.logger.Printf("[WARN] consul: Error shutting down raft: %s", err)
s.logger.Printf("[WARN] consul: error shutting down raft: %s", err)
}
if s.left && s.raftSafeFn != nil {
if err := s.raftSafeFn(); err != nil {
s.logger.Printf("[WARN] consul: Error safing raft: %s", err)
s.logger.Printf("[WARN] consul: error safing raft: %s", err)
}
}
if s.raftStore != nil {