summaryrefslogtreecommitdiff
path: root/src/rhimportd/main.go
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-07-29 00:04:00 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-07-29 00:04:00 (GMT)
commit1b9e777c9cec218e040166dd5ae12c5bde843f20 (patch)
treeaad77761c19e22300ecfdaba623aff0f7568350c /src/rhimportd/main.go
parent29c5920353da2ff8811d1518b411dfe957e397f5 (diff)
watch dir control interface uses session
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")
}()
}