You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2023/05/01 21:22:33 UTC

[couchdb] 01/01: fix ken_server:nouveau_updated

This is an automated email from the ASF dual-hosted git repository.

rnewson pushed a commit to branch fix-ken-server-nouveau
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit a9831a6767a19ec8302846a0623f019d0d4a1de0
Author: Robert Newson <rn...@apache.org>
AuthorDate: Mon May 1 22:22:09 2023 +0100

    fix ken_server:nouveau_updated
---
 src/ken/src/ken_server.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ken/src/ken_server.erl b/src/ken/src/ken_server.erl
index 382c8942e..929ba47d7 100644
--- a/src/ken/src/ken_server.erl
+++ b/src/ken/src/ken_server.erl
@@ -371,7 +371,7 @@ st_updated(_Name, _Doc, _Seq, _State) ->
 -endif.
 
 nouveau_updated(Name, Doc, Seq, State) ->
-    case should_update(Doc, <<"indexes">>) of
+    case should_update(Doc, <<"nouveau">>) of
         true ->
             try nouveau_util:design_doc_to_indexes(Name, Doc) of
                 SIndexes -> update_ddoc_nouveau_indexes(Name, SIndexes, Seq, State)