Skip to content

Commit

Permalink
Adds missing "raft:" prefix to log message.
Browse files Browse the repository at this point in the history
  • Loading branch information
slackpad authored Jan 26, 2018
1 parent 077966d commit 7e9c478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net_transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ func (n *NetworkTransport) getProviderAddressOrFallback(id ServerID, target Serv
if n.serverAddressProvider != nil {
serverAddressOverride, err := n.serverAddressProvider.ServerAddr(id)
if err != nil {
n.logger.Printf("[WARN] Unable to get address for server id %v, using fallback address %v: %v", id, target, err)
n.logger.Printf("[WARN] raft: Unable to get address for server id %v, using fallback address %v: %v", id, target, err)
} else {
return serverAddressOverride
}
Expand Down

0 comments on commit 7e9c478

Please sign in to comment.