mirror of https://github.com/perkeep/perkeep.git
client: fix "method not an expression" error for Go1
Change-Id: Id46cfafb6585fb074415d10affbb835373d27112
This commit is contained in:
parent
6be77f09e4
commit
af542f5cae
|
@ -262,6 +262,6 @@ func (c *Client) initTrustedCerts() {
|
|||
}
|
||||
|
||||
func (c *Client) GetTrustedCerts() []string {
|
||||
initTrustedCertsOnce.Do(c.initTrustedCerts)
|
||||
initTrustedCertsOnce.Do(func() { c.initTrustedCerts() })
|
||||
return c.trustedCerts
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue