You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/03/23 16:05:47 UTC
[GitHub] [couchdb] davisp commented on a change in pull request #2706: [WIP]
add info endpoint for fdb stored views
davisp commented on a change in pull request #2706: [WIP] add info endpoint for fdb stored views
URL: https://github.com/apache/couchdb/pull/2706#discussion_r396566734
##########
File path: src/chttpd/src/chttpd_db.erl
##########
@@ -368,7 +368,7 @@ bad_action_req(#httpd{path_parts=[_, _, Name|FileNameParts]}=Req, Db, _DDoc) ->
handle_design_info_req(#httpd{method='GET'}=Req, Db, #doc{} = DDoc) ->
[_, _, Name, _] = Req#httpd.path_parts,
- {ok, GroupInfoList} = fabric:get_view_group_info(Db, DDoc),
+ {ok, GroupInfoList} = couch_views:get_views_info(Db, DDoc),
Review comment:
`get_views_info` is a bit awkward since we're getting a singular info object back. How about just `get_info` instead?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services