You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/01/10 00:40:30 UTC
[GitHub] NaohiroTamura commented on a change in pull request #3160: Fixed the curl command line to update the 'reduce_limit'
NaohiroTamura commented on a change in pull request #3160: Fixed the curl command line to update the 'reduce_limit'
URL: https://github.com/apache/incubator-openwhisk/pull/3160#discussion_r160563949
##########
File path: ansible/README.md
##########
@@ -138,7 +138,7 @@ ansible-playbook -i environments/<environment> prereq.yml
### Deploying Using CouchDB
- Make sure your `db_local.ini` file is set up for CouchDB. See [Setup](#setup)
- If you deploy CouchDB manually (i.e., without using the deploy CouchDB playbook), you must set the `reduce_limit` property on views to `false`.
-This may be done via the REST API, as in: `curl -X PUT ${OW_DB_PROTOCOL}://${OW_DB_HOST}:${OW_DB_PORT}/_config/query_server_config/reduce_limit -d '"false"' -u ${OW_DB_USERNAME}:${OW_DB_PASSWORD}`.
+This may be done via the REST API, as in: `curl -X PUT ${OW_DB_PROTOCOL}://${OW_DB_HOST}:${OW_DB_PORT}/_node/{node-name}/_config/query_server_config/reduce_limit -d '"false"' -u ${OW_DB_USERNAME}:${OW_DB_PASSWORD}`.
Review comment:
Christian,
Thanks for the review. I updated the patch, but failed to add it in this thread, sorry.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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