chore: style fixes from go fix (#10846)
Just `go fix ./...` Signed-off-by: Jakob Borg <jakob@kastelo.net>
This commit is contained in:
+2
-2
@@ -1164,7 +1164,7 @@ func (f *folder) setWatchError(err error, nextTryIn time.Duration) {
|
||||
f.watchErr = err
|
||||
f.watchMut.Unlock()
|
||||
if err != prevErr { //nolint:errorlint
|
||||
data := map[string]interface{}{
|
||||
data := map[string]any{
|
||||
"folder": f.ID,
|
||||
}
|
||||
if prevErr != nil {
|
||||
@@ -1338,7 +1338,7 @@ func (f *folder) updateLocals(fs []protocol.FileInfo) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
f.evLogger.Log(events.LocalIndexUpdated, map[string]interface{}{
|
||||
f.evLogger.Log(events.LocalIndexUpdated, map[string]any{
|
||||
"folder": f.ID,
|
||||
"items": len(fs),
|
||||
"filenames": filenames,
|
||||
|
||||
Reference in New Issue
Block a user