couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [13/18] git commit: Fix validation funs return format bug
Date Fri, 17 Jan 2014 21:41:39 GMT
Fix validation funs return format bug


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

Branch: refs/heads/import
Commit: b0da8b35078f57097f1d41124cc671d8619c4e0c
Parents: cb9906c
Author: Paul J. Davis <paul.joseph.davis@gmail.com>
Authored: Tue Jan 29 17:26:47 2013 -0600
Committer: Paul J. Davis <paul.joseph.davis@gmail.com>
Committed: Tue Jan 29 17:26:47 2013 -0600

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


http://git-wip-us.apache.org/repos/asf/couchdb-ddoc-cache/blob/b0da8b35/src/ddoc_cache_opener.erl
----------------------------------------------------------------------
diff --git a/src/ddoc_cache_opener.erl b/src/ddoc_cache_opener.erl
index 4f8eb65..b2bf930 100644
--- a/src/ddoc_cache_opener.erl
+++ b/src/ddoc_cache_opener.erl
@@ -166,7 +166,7 @@ open_ddoc({DbName, validation_funs}=Key) ->
         end
     end, DDocs),
     ok = ets_lru:insert(ddoc_cache_lru, {DbName, validation_funs}, Funs),
-    exit({open_ok, Key, Funs});
+    exit({open_ok, Key, {ok, Funs}});
 open_ddoc({DbName, DDocId}=Key) ->
     try fabric:open_doc(DbName, DDocId, []) of
         {ok, Doc} ->


Mime
View raw message