mirror of
https://github.com/syncthing/syncthing.git
synced 2024-11-16 02:18:44 -07:00
Fix test
This commit is contained in:
parent
5fe15475a4
commit
e1757ee726
@ -1203,7 +1203,7 @@ nextSub:
|
||||
})
|
||||
if len(batch) == batchSize {
|
||||
if err := m.CheckFolderHealth(folder); err != nil {
|
||||
l.Infoln("Stopping folder %s mid-scan due to folder error: %s", folder, err)
|
||||
l.Infof("Stopping folder %s mid-scan due to folder error: %s", folder, err)
|
||||
return err
|
||||
}
|
||||
fs.Update(protocol.LocalDeviceID, batch)
|
||||
@ -1213,7 +1213,7 @@ nextSub:
|
||||
}
|
||||
|
||||
if err := m.CheckFolderHealth(folder); err != nil {
|
||||
l.Infoln("Stopping folder %s mid-scan due to folder error: %s", folder, err)
|
||||
l.Infof("Stopping folder %s mid-scan due to folder error: %s", folder, err)
|
||||
return err
|
||||
} else if len(batch) > 0 {
|
||||
fs.Update(protocol.LocalDeviceID, batch)
|
||||
|
Loading…
Reference in New Issue
Block a user