From 2a58b1be2c79f2fe10c0a429878937661645a928 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Sun, 28 Mar 2021 14:00:54 +0300 Subject: - Fix bug with the worker reallocating during the response - Update .golangci and fix new warnings Signed-off-by: Valery Piashchynski --- plugins/reload/watcher.go | 1 - 1 file changed, 1 deletion(-) (limited to 'plugins/reload/watcher.go') diff --git a/plugins/reload/watcher.go b/plugins/reload/watcher.go index 8dde38de..1b3407e5 100644 --- a/plugins/reload/watcher.go +++ b/plugins/reload/watcher.go @@ -148,7 +148,6 @@ func ConvertIgnored(ignored []string) (map[string]struct{}, error) { // pass map from outside func (w *Watcher) retrieveFilesSingle(serviceName, path string) (map[string]os.FileInfo, error) { - const op = errors.Op("watcher_retrieve_files_single") stat, err := os.Stat(path) if err != nil { return nil, err -- cgit v1.2.3