lib/model: Don't set watch error on folder creation (fixes 5005) (#5006)

This commit is contained in:
Simon Frei
2018-06-16 00:33:23 +02:00
committed by Audrius Butkevicius
parent 793b86e604
commit 54e17c8bf4

View File

@@ -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(),
} }
} }