lib/model: Don't set watch error on folder creation (fixes 5005) (#5006)
This commit is contained in:
parent
793b86e604
commit
54e17c8bf4
|
@ -83,7 +83,6 @@ func newFolder(model *Model, cfg config.FolderConfiguration) folder {
|
||||||
|
|
||||||
watchCancel: func() {},
|
watchCancel: func() {},
|
||||||
restartWatchChan: make(chan struct{}, 1),
|
restartWatchChan: make(chan struct{}, 1),
|
||||||
watchErr: errWatchNotStarted,
|
|
||||||
watchErrMut: sync.NewMutex(),
|
watchErrMut: sync.NewMutex(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue