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 dca8fd2643
commit 7181e42ba8
1 changed files with 1 additions and 1 deletions

View File

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