mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-03 15:17:25 +00:00
lib/fs: Use correct facility name
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4710
This commit is contained in:
parent
ae760798e1
commit
80079e8322
@ -35,10 +35,7 @@ func TestMain(m *testing.M) {
|
||||
panic("Cannot get real path to working dir")
|
||||
}
|
||||
testDirAbs = filepath.Join(dir, testDir)
|
||||
testFs = newBasicFilesystem(testDirAbs)
|
||||
if l.ShouldDebug("filesystem") {
|
||||
testFs = &logFilesystem{testFs}
|
||||
}
|
||||
testFs = NewFilesystem(FilesystemTypeBasic, testDirAbs)
|
||||
|
||||
backendBuffer = 10
|
||||
defer func() {
|
||||
|
@ -170,7 +170,7 @@ func NewFilesystem(fsType FilesystemType, uri string) Filesystem {
|
||||
}
|
||||
}
|
||||
|
||||
if l.ShouldDebug("filesystem") {
|
||||
if l.ShouldDebug("fs") {
|
||||
fs = &logFilesystem{fs}
|
||||
}
|
||||
return fs
|
||||
|
Loading…
Reference in New Issue
Block a user