mirror of https://github.com/status-im/consul.git
Switch the order of ServerDetails.String()
It's more natrual to have the network first. I think I flipped the order accidentally.
This commit is contained in:
parent
e8a2e56370
commit
4589c36308
|
@ -54,7 +54,7 @@ func (s *ServerDetails) String() string {
|
|||
networkStr = s.Addr.Network()
|
||||
}
|
||||
|
||||
return fmt.Sprintf("%s (Addr: %s/%s) (DC: %s)", s.Name, addrStr, networkStr, s.Datacenter)
|
||||
return fmt.Sprintf("%s (Addr: %s/%s) (DC: %s)", s.Name, networkStr, addrStr, s.Datacenter)
|
||||
}
|
||||
|
||||
// IsConsulServer returns true if a serf member is a consul server. Returns a
|
||||
|
|
Loading…
Reference in New Issue