summaryrefslogtreecommitdiff
path: root/plugins/reload
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-05-28 10:48:05 +0300
committerValery Piashchynski <[email protected]>2021-05-28 10:48:05 +0300
commit5527b31b2da2b60ed8877b8c43badb73f98ec7bb (patch)
tree3544321ff305539cc6ca735fadf972c782774f7a /plugins/reload
parent008f093b3de55472250470354670715115c4e4c4 (diff)
- Add more tests for the BST storage
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/reload')
-rw-r--r--plugins/reload/watcher.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/reload/watcher.go b/plugins/reload/watcher.go
index 421668b3..c40c2fdf 100644
--- a/plugins/reload/watcher.go
+++ b/plugins/reload/watcher.go
@@ -305,7 +305,7 @@ func (w *Watcher) pollEvents(serviceName string, files map[string]os.FileInfo) {
w.mu.Lock()
defer w.mu.Unlock()
- // Store create and remove events for use to check for rename events.
+ // InsertMany create and remove events for use to check for rename events.
creates := make(map[string]os.FileInfo)
removes := make(map[string]os.FileInfo)