mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-10 07:11:08 +00:00
all: Clarify 'Cleaning data for folder' log message (#7937)
Instead of data (could be read as user data), use metadata.
This commit is contained in:
parent
4868d347db
commit
0ffa7f3f57
@ -2765,7 +2765,7 @@ func (m *model) BringToFront(folder, file string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (m *model) ResetFolder(folder string) {
|
func (m *model) ResetFolder(folder string) {
|
||||||
l.Infof("Cleaning data for folder %q", folder)
|
l.Infof("Cleaning metadata for reset folder %q", folder)
|
||||||
db.DropFolder(m.db, folder)
|
db.DropFolder(m.db, folder)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -206,7 +206,7 @@ func (a *App) startup() error {
|
|||||||
folders := a.cfg.Folders()
|
folders := a.cfg.Folders()
|
||||||
for _, folder := range a.ll.ListFolders() {
|
for _, folder := range a.ll.ListFolders() {
|
||||||
if _, ok := folders[folder]; !ok {
|
if _, ok := folders[folder]; !ok {
|
||||||
l.Infof("Cleaning data for dropped folder %q", folder)
|
l.Infof("Cleaning metadata for dropped folder %q", folder)
|
||||||
db.DropFolder(a.ll, folder)
|
db.DropFolder(a.ll, folder)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user