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:
Sean Chittenden 2016-03-28 11:37:25 -07:00
parent e8a2e56370
commit 4589c36308
1 changed files with 1 additions and 1 deletions

View File

@ -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