fix the build.
parent
21f33c0348
commit
9769bef22f
|
@ -9,7 +9,7 @@ if [ -d $HOME/go ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pushd src
|
pushd src
|
||||||
export packages="admin api/http common configuration coordinator datastore engine interfaces main parser protocol"
|
export packages="admin api/http common configuration coordinator datastore engine interfaces main parser protocol server"
|
||||||
popd
|
popd
|
||||||
|
|
||||||
snappy_dir=/tmp/snappychronosdb
|
snappy_dir=/tmp/snappychronosdb
|
||||||
|
|
|
@ -56,6 +56,6 @@ func main() {
|
||||||
adminServer.ListenAndServe()
|
adminServer.ListenAndServe()
|
||||||
}()
|
}()
|
||||||
log.Println("Starting Http Api server on port", config.ApiHttpPort)
|
log.Println("Starting Http Api server on port", config.ApiHttpPort)
|
||||||
server := http.NewHttpServer(config.ApiHttpPortString(), eng, coord)
|
server := http.NewHttpServer(config.ApiHttpPortString(), eng, coord, coord)
|
||||||
server.ListenAndServe()
|
server.ListenAndServe()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue