couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [42/49] git commit: Restore {ok, Docs} from get_design_docs
Date Fri, 17 Jan 2014 22:10:27 GMT
Restore {ok, Docs} from get_design_docs


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/commit/636a0c2f
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/tree/636a0c2f
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/diff/636a0c2f

Branch: refs/heads/import
Commit: 636a0c2f578903f44d41565b19f2e60b029b53bf
Parents: fce11ee
Author: Robert Newson <rnewson@apache.org>
Authored: Fri Mar 8 20:43:37 2013 -0600
Committer: Paul J. Davis <paul.joseph.davis@gmail.com>
Committed: Wed Mar 20 06:02:49 2013 -0500

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


http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/blob/636a0c2f/src/couch_mrview_cleanup.erl
----------------------------------------------------------------------
diff --git a/src/couch_mrview_cleanup.erl b/src/couch_mrview_cleanup.erl
index 3e6bcc6..d6b69b4 100644
--- a/src/couch_mrview_cleanup.erl
+++ b/src/couch_mrview_cleanup.erl
@@ -23,7 +23,7 @@ run(Db) ->
     RootDir = couch_index_util:root_dir(),
     DbName = couch_db:name(Db),
 
-    DesignDocs = couch_db:get_design_docs(Db),
+    {ok, DesignDocs} = couch_db:get_design_docs(Db),
     SigFiles = lists:foldl(fun(DDocInfo, SFAcc) ->
         {ok, DDoc} = couch_db:open_doc_int(Db, DDocInfo, [ejson_body]),
         {ok, InitState} = couch_mrview_util:ddoc_to_mrst(DbName, DDoc),


Mime
View raw message