Switch the order of ServerDetails.String()

It's more natrual to have the network first.  I think I flipped the order accidentally.
pull/1880/head
Sean Chittenden 9 years ago
parent e8a2e56370
commit 4589c36308

@ -54,7 +54,7 @@ func (s *ServerDetails) String() string {
networkStr = s.Addr.Network() 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 // IsConsulServer returns true if a serf member is a consul server. Returns a

Loading…
Cancel
Save