fix the build.

pull/17/head
John Shahid 2013-10-23 12:42:28 -04:00
parent 21f33c0348
commit 9769bef22f
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ if [ -d $HOME/go ]; then
fi
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
snappy_dir=/tmp/snappychronosdb

View File

@ -56,6 +56,6 @@ func main() {
adminServer.ListenAndServe()
}()
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()
}