Reviewed: https://review.openstack.org/638389 Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=309f72202d0c76b7b4be3ca96327a8b784a1bc69 Submitter: Zuul Branch: stable/queens
commit 309f72202d0c76b7b4be3ca96327a8b784a1bc69 Author: zhurong <email address hidden> Date: Fri Jan 11 16:30:01 2019 +0800
Fix version return incorrect when endpoint url end without /
when request to cinder endpoint url end without / $ curl http://127.0.0.1/volume the version href return incorrect, like below: "href": "http://127.0.0.1/v2/" "href": "http://127.0.0.1/v3/" This patch will always add a '/' to the endpoint url end.
Closes-bug: #1816793 Change-Id: I6b0f47fc5b11c44a767e0ebfe2929e560c5f5432 (cherry picked from commit 175aaa879d8b940d800e1b96e8871bd350798038)
Reviewed: https:/ /review. openstack. org/638389 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=309f72202d0 c76b7b4be3ca963 27a8b784a1bc69
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 309f72202d0c76b 7b4be3ca96327a8 b784a1bc69
Author: zhurong <email address hidden>
Date: Fri Jan 11 16:30:01 2019 +0800
Fix version return incorrect when endpoint url end without /
when request to cinder endpoint url end without / 127.0.0. 1/volume 127.0.0. 1/v2/" 127.0.0. 1/v3/"
$ curl http://
the version href return incorrect, like below:
"href": "http://
"href": "http://
This patch will always add a '/' to the endpoint url end.
Closes-bug: #1816793 4a767e0ebfe2929 e560c5f5432 d800e1b96e8871b d350798038)
Change-Id: I6b0f47fc5b11c4
(cherry picked from commit 175aaa879d8b940