assorted formatting and typo fixes

This commit is contained in:
Jonathan Boulle
2014-07-18 12:03:22 -07:00
parent 75447a93ef
commit 9e63c3a633
11 changed files with 24 additions and 24 deletions

View File

@@ -48,7 +48,7 @@ func (impl LoadBalancerRR) LoadBalance(service string, srcAddr net.Addr) (string
index := impl.rrIndex[service]
impl.lock.RUnlock()
if !exists {
return "", errors.New("no service entry for:" + service)
return "", errors.New("no service entry for: " + service)
}
if len(endpoints) == 0 {
return "", errors.New("no endpoints for: " + service)