Merge branch 'main' into v2
* main: fix(config): properly apply defaults when reading folder configuration (#10034) chore(model): add metric for total number of conflicts (#10037) build: replace underscore in Debian version (#10032)
This commit is contained in:
@@ -1809,6 +1809,7 @@ func (f *sendReceiveFolder) moveForConflict(name, lastModBy string, scanChan cha
|
||||
return nil
|
||||
}
|
||||
|
||||
metricFolderConflictsTotal.WithLabelValues(f.ID).Inc()
|
||||
newName := conflictName(name, lastModBy)
|
||||
err := f.mtimefs.Rename(name, newName)
|
||||
if fs.IsNotExist(err) {
|
||||
|
||||
Reference in New Issue
Block a user