client: actually submit code that compiles

Change-Id: I4e3b2f786d46a524a52ce1a86d7bd5b625818527
This commit is contained in:
Brad Fitzpatrick 2014-02-19 19:57:22 -08:00
parent 76322ec428
commit 0f046b8a45
1 changed files with 1 additions and 1 deletions

View File

@ -630,7 +630,7 @@ func (c *Client) initPrefix() error {
func (c *Client) condDiscovery() error {
if c.sto != nil {
return "", errors.New("client not using HTTP")
return errors.New("client not using HTTP")
}
return c.discoOnce.Do(c.doDiscovery)
}