diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-07-29 00:04:00 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-07-29 00:04:00 (GMT) |
commit | 1b9e777c9cec218e040166dd5ae12c5bde843f20 (patch) | |
tree | aad77761c19e22300ecfdaba623aff0f7568350c /src/rhimportd/main.go | |
parent | 29c5920353da2ff8811d1518b411dfe957e397f5 (diff) |
watch dir control interface uses session
Diffstat (limited to 'src/rhimportd/main.go')
-rw-r--r-- | src/rhimportd/main.go | 7 |
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") }() } |