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/dcf48e26
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/dcf48e26
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/dcf48e26

Branch: refs/heads/1843-feature-bigcouch
Commit: dcf48e2600770693c4176dfac1aa82eb2b86df21
Parents: 4161755
Author: Jan Lehnardt <[email protected]>
Authored: Thu Dec 19 22:52:03 2013 +0100
Committer: Robert Newson <[email protected]>
Committed: Mon Feb 3 12:54:09 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/dcf48e26/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