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/14 15:51:47 UTC

[GitHub] rabbah closed pull request #3160: Fixed the curl command line to update the 'reduce_limit'

rabbah closed pull request #3160: Fixed the curl command line to update the 'reduce_limit'
URL: https://github.com/apache/incubator-openwhisk/pull/3160
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/ansible/README.md b/ansible/README.md
index 95bbcf9b9b..8d19421d8a 100644
--- a/ansible/README.md
+++ b/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}`. '{node-name}' is depends on your environment, you can get it by `curl ${OW_DB_PROTOCOL}://${OW_DB_HOST}:${OW_DB_PORT}/_membership`.
 - Then execute
 
 ```


 

----------------------------------------------------------------
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