CouchDB version lives with couch_server
Project: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/commit/b5f683c2 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/tree/b5f683c2 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/diff/b5f683c2 Branch: refs/heads/import Commit: b5f683c2284572b77fd0cd2b1e6188d1ccda1509 Parents: fe81abc Author: Jan Lehnardt <[email protected]> Authored: Thu Dec 19 22:52:03 2013 +0100 Committer: Paul J. Davis <[email protected]> Committed: Fri Jan 17 13:36:24 2014 -0800 ---------------------------------------------------------------------- src/chttpd_misc.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/b5f683c2/src/chttpd_misc.erl ---------------------------------------------------------------------- diff --git a/src/chttpd_misc.erl b/src/chttpd_misc.erl index 5e8299c..a730801 100644 --- a/src/chttpd_misc.erl +++ b/src/chttpd_misc.erl @@ -34,7 +34,7 @@ handle_welcome_req(Req) -> handle_welcome_req(#httpd{method='GET'}=Req, WelcomeMessage) -> send_json(Req, {[ {couchdb, WelcomeMessage}, - {version, list_to_binary(couch:version())}, + {version, list_to_binary(couch_server:get_version())}, {bigcouch, get_version()} ]}); handle_welcome_req(Req, _) ->
