mirror of https://github.com/perkeep/perkeep.git
client: actually submit code that compiles
Change-Id: I4e3b2f786d46a524a52ce1a86d7bd5b625818527
This commit is contained in:
parent
76322ec428
commit
0f046b8a45
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue