mirror of
https://github.com/DominicBreuker/pspy.git
synced 2026-11-06 18:21:51 +00:00
add tests for fswatcher package
This commit is contained in:
1 parent
94a12cf031
commit
1deb4838a5
14 files changed
+277
-199
No files matched your search
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user