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
dca8fd2643
commit
7181e42ba8
|
@ -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