Rename "shard_db" option to "shards_db"

COUCHDB-2628


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

Branch: refs/heads/master
Commit: 6c4aa04e21cc94c4e2d1c9718a52d5fbffb58b73
Parents: 7fef96e
Author: Alexander Shorin <[email protected]>
Authored: Thu Feb 26 21:55:25 2015 +0300
Committer: Alexander Shorin <[email protected]>
Committed: Thu Feb 26 21:57:10 2015 +0300

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


http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/6c4aa04e/src/chttpd_misc.erl
----------------------------------------------------------------------
diff --git a/src/chttpd_misc.erl b/src/chttpd_misc.erl
index 5708708..6423a91 100644
--- a/src/chttpd_misc.erl
+++ b/src/chttpd_misc.erl
@@ -100,7 +100,7 @@ handle_sleep_req(Req) ->
 
 handle_all_dbs_req(#httpd{method='GET'}=Req) ->
     Args = couch_mrview_http:parse_params(Req, undefined),
-    ShardDbName = config:get("mem3", "shard_db", "_dbs"),
+    ShardDbName = config:get("mem3", "shards_db", "_dbs"),
     %% shard_db is not sharded but mem3:shards treats it as an edge case
     %% so it can be pushed thru fabric
     {ok, Info} = fabric:get_db_info(ShardDbName),

Reply via email to