mirror of https://github.com/perkeep/perkeep.git
client: use a method value.
http://golang.org/doc/go1.1#method_values Change-Id: I68d516fdbfa60b6688f74bd9c3293583fc51b2ec
This commit is contained in:
parent
bda8ad3c4b
commit
911d07e16e
|
@ -342,6 +342,6 @@ func (c *Client) initIgnoredFiles() {
|
|||
}
|
||||
|
||||
func (c *Client) getIgnoredFiles() []string {
|
||||
c.initIgnoredFilesOnce.Do(func() { c.initIgnoredFiles() })
|
||||
c.initIgnoredFilesOnce.Do(c.initIgnoredFiles)
|
||||
return c.ignoredFiles
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue