diff options
Diffstat (limited to 'internal/source/disk/disk.go')
-rw-r--r-- | internal/source/disk/disk.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/source/disk/disk.go b/internal/source/disk/disk.go index 2283cad4..a3ae8901 100644 --- a/internal/source/disk/disk.go +++ b/internal/source/disk/disk.go @@ -52,9 +52,9 @@ func (d *Disk) IsReady() bool { return d.dm != nil } -// Start starts the domain source, in this case it is reading domains from +// Read starts the domain source, in this case it is reading domains from // groups on disk concurrently. -func (d *Disk) Start(rootDomain string) { +func (d *Disk) Read(rootDomain string) { go Watch(rootDomain, d.updateDomains, time.Second) } |