summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorRobert Newson <robert.newson@cloudant.com>2011-02-05 21:05:22 +0000
committerRobert Newson <robert.newson@cloudant.com>2011-02-05 21:05:22 +0000
commit8620ccfad05e8658959eb0e1b7c8e1f67c99173a (patch)
tree4793277e08b2e54a7274fa7bebc50b40cab26f46 /apps
parentd2a9229c4f0a750d8e4191f60227572117a53ab7 (diff)
Revert "fix replication checkpointing."
This reverts commit d2a9229c4f0a750d8e4191f60227572117a53ab7.
Diffstat (limited to 'apps')
-rw-r--r--apps/couch/src/couch_rep.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/couch/src/couch_rep.erl b/apps/couch/src/couch_rep.erl
index ca1e081a..c804b49d 100644
--- a/apps/couch/src/couch_rep.erl
+++ b/apps/couch/src/couch_rep.erl
@@ -532,7 +532,7 @@ open_replication_log(#http_db{}=Db, RepId) ->
DocId = ?LOCAL_DOC_PREFIX ++ RepId,
Req = Db#http_db{resource=couch_util:url_encode(DocId)},
case couch_rep_httpc:request(Req) of
- {[{<<"error">>, _}, {<<"reason">>, _} | _Rest]} ->
+ {[{<<"error">>, _}, {<<"reason">>, _}]} ->
?LOG_DEBUG("didn't find a replication log for ~s", [Db#http_db.url]),
#doc{id=?l2b(DocId)};
Doc ->