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 2019/01/08 20:30:09 UTC
[GitHub] nickva commented on issue #1845: Fix end_time field in /_replicate
response
nickva commented on issue #1845: Fix end_time field in /_replicate response
URL: https://github.com/apache/couchdb/pull/1845#issuecomment-452440798
To reproduce followed instructions in #1841
```
curl -X PUT http://adm:pass@127.0.0.1:15984/baseball_1
curl -X PUT http://adm:pass@127.0.0.1:15984/baseball_2
curl -H 'Content-Type: application/json' -X POST "http://adm:pass@127.0.0.1:15984/baseball_1/" -d '{}'
curl -H 'Content-Type: application/json' -X POST "http://adm:pass@127.0.0.1:15984/_replicate" -d '{"source":{"url":"http://adm:pass@127.0.0.1:15984/baseball_1"},"target":{"url":"https://adm:pass@127.0.0.1:15984/baseball_2"}}' | jq '.'
```
Before I got:
```
"start_time": "Wed, 09 Jan 2019 01:05:27 GMT",
"end_time": "Tue, 08 Jan 2019 20:10:29 GMT",
```
After
```
"start_time": "Tue, 08 Jan 2019 20:16:37 GMT",
"end_time": "Tue, 08 Jan 2019 20:16:40 GMT",
```
With the times being
```
$ date
Tue Jan 8 15:29:19 EST 2019
$ date -u
Tue Jan 8 20:29:20 UTC 2019
```
----------------------------------------------------------------
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