add tests for fswatcher package

This commit is contained in:
Dominic Breuker authored and Dominic Breuker committed 2018-03-12 08:58:01 +01:00
1 parent 94a12cf031
commit 1deb4838a5
14 files changed
+277 -199

No files matched your search

+1 -1
View File
@@ -74,7 +74,7 @@ func root(cmd *cobra.Command, args []string) {
LogPS: logPS,
LogFS: logFS,
}
iw, err := fswatcher.NewInotifyWatcher()
iw, err := fswatcher.NewFSWatcher()
if err != nil {
logger.Errorf("Can't initialize fswatcher: %v", err)
os.Exit(1)