summaryrefslogtreecommitdiff
path: root/src/fabric.erl
diff options
context:
space:
mode:
authorAdam Kocoloski <adam@cloudant.com>2010-06-09 14:02:21 -0400
committerAdam Kocoloski <adam@cloudant.com>2010-06-09 14:02:21 -0400
commite8c43b1e8e6f5393e579ae9e015c5b7c282dbf2a (patch)
treea04ba95499671bb7b4597b6783993129607fb7a5 /src/fabric.erl
parent44380d7ac0b135fa2d6107cf784a99a1efd393e6 (diff)
rewrite fabric_db_info
Diffstat (limited to 'src/fabric.erl')
-rw-r--r--src/fabric.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fabric.erl b/src/fabric.erl
index 80646561..e4887953 100644
--- a/src/fabric.erl
+++ b/src/fabric.erl
@@ -1,7 +1,7 @@
-module(fabric).
% DBs
--export([all_dbs/0, all_dbs/1, create_db/2, delete_db/2, get_db_info/2,
+-export([all_dbs/0, all_dbs/1, create_db/2, delete_db/2, get_db_info/1,
get_doc_count/1]).
% Documents
@@ -29,8 +29,8 @@ all_dbs() ->
all_dbs(Customer) ->
fabric_all_databases:all_databases(Customer).
-get_db_info(DbName, Customer) ->
- fabric_db_info:get_db_info(dbname(DbName), Customer).
+get_db_info(DbName) ->
+ fabric_db_info:go(dbname(DbName)).
get_doc_count(DbName) ->
fabric_db_doc_count:go(dbname(DbName)).