You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "nickva (via GitHub)" <gi...@apache.org> on 2023/03/06 14:44:37 UTC

[GitHub] [couchdb] nickva commented on a diff in pull request #4457: Documentation: Add `adm:pass` to replication endpoint URL

nickva commented on code in PR #4457:
URL: https://github.com/apache/couchdb/pull/4457#discussion_r1126520455


##########
src/docs/src/replication/replicator.rst:
##########
@@ -252,16 +252,16 @@ normal.
 Documents describing the same replication
 =========================================
 
-Lets suppose 2 documents are added to the ``_replicator`` database in
+Let's suppose 2 documents are added to the ``_replicator`` database in
 the following order:
 
 .. code-block:: javascript
 
     {
         "_id": "my_rep",
-        "source": "http://myserver.com/foo",
-        "target":  "http://user:pass@localhost:5984/bar",
-        "create_target":  true,
+        "source": "http://adm:pass@myserver.com/foo",

Review Comment:
   In a few cases, where we have a remote endpoint like "myserver.com" we may want to use a different password user combination to illustrate that those endpoint may have a completely different set of credentials. So in this case we could have source have a `user:password` for instance



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

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org