Formatting nit: remove brackets
This commit is contained in:
parent
1371ef85f5
commit
974c9927c7
|
@ -281,7 +281,7 @@ func (l *serverList) shuffleServers() {
|
||||||
// String returns a string representation of serverList
|
// String returns a string representation of serverList
|
||||||
func (l *serverList) String() string {
|
func (l *serverList) String() string {
|
||||||
if len(l.L) == 0 {
|
if len(l.L) == 0 {
|
||||||
return fmt.Sprintf("[empty server list]")
|
return fmt.Sprintf("empty server list")
|
||||||
}
|
}
|
||||||
|
|
||||||
serverStrs := make([]string, 0, len(l.L))
|
serverStrs := make([]string, 0, len(l.L))
|
||||||
|
|
Loading…
Reference in New Issue