CouchDB version lives with couch_server

Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/449f314d
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/449f314d
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/449f314d

Branch: refs/heads/1843-feature-bigcouch
Commit: 449f314dd4e571dc583054a96a711cc4c963a7f2
Parents: 2b2c193
Author: Jan Lehnardt <[email protected]>
Authored: Thu Dec 19 22:52:03 2013 +0100
Committer: Robert Newson <[email protected]>
Committed: Tue Jan 28 15:48:15 2014 +0000

----------------------------------------------------------------------
 src/chttpd/src/chttpd_misc.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/449f314d/src/chttpd/src/chttpd_misc.erl
----------------------------------------------------------------------
diff --git a/src/chttpd/src/chttpd_misc.erl b/src/chttpd/src/chttpd_misc.erl
index 5e8299c..a730801 100644
--- a/src/chttpd/src/chttpd_misc.erl
+++ b/src/chttpd/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, _) ->

Reply via email to