summaryrefslogtreecommitdiff
path: root/src/rhimportd/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/rhimportd/main.go')
-rw-r--r--src/rhimportd/main.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/rhimportd/main.go b/src/rhimportd/main.go
index 6c68962..41dd36c 100644
--- a/src/rhimportd/main.go
+++ b/src/rhimportd/main.go
@@ -25,8 +25,6 @@
package main
import (
- "code.helsinki.at/rhrd-go/rddb"
- "code.helsinki.at/rhrd-go/rhimport"
"flag"
"fmt"
"io/ioutil"
@@ -35,6 +33,9 @@ import (
"os/signal"
"sync"
"time"
+
+ "code.helsinki.at/rhrd-go/rddb"
+ "code.helsinki.at/rhrd-go/rhimport"
)
func getStdLog(name string) *log.Logger {
@@ -172,7 +173,7 @@ func main() {
go func() {
defer wg.Done()
rhl.Println("starting watch-dir-ctrl")
- StartWatchDir(watchDir.Get().(string), conf, db.GetInterface())
+ StartWatchDir(watchDir.Get().(string), conf, sessions.GetInterface())
rhl.Println("watch-dir-ctrl finished")
}()
}