assorted formatting and typo fixes

This commit is contained in:
Jonathan Boulle
2014-07-18 12:03:22 -07:00
parent 3800c3bdcb
commit c43035088b
11 changed files with 19 additions and 19 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)