]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add config option to override url for versions
authorwanghao <wanghao749@huawei.com>
Thu, 26 Feb 2015 08:50:31 +0000 (16:50 +0800)
committerwanghao <wanghao749@huawei.com>
Mon, 2 Mar 2015 06:51:22 +0000 (14:51 +0800)
commit2eb25ab8803214cb3beb5d8fe3efbf70a462c414
treebadc224d27ad8c67e156ab9e16492e7d50285ba5
parent1e2ac58e7c18a1cad72b1e6b70b434da96510243
Add config option to override url for versions

The versions url returns the wrong data when cinder api is behind
a proxy. This adds a new config option so it can be set properly.

DocImpact

Change-Id: I46a90120b21e43bf8dca9e5f0efdf339f0d3e8e6
Closes-Bug: #1384379
cinder/api/views/versions.py
cinder/tests/api/test_versions.py [new file with mode: 0644]