Merge "Update api-ref location"

This commit is contained in:
Zuul
2019-07-24 07:29:58 +00:00
committed by Gerrit Code Review
4 changed files with 4 additions and 4 deletions

View File

@@ -479,4 +479,4 @@ change to a new value:
.. _Watcher API: https://developer.openstack.org/api-ref/resource-optimization/
.. _Watcher API: https://docs.openstack.org/api-ref/resource-optimization/

View File

@@ -83,7 +83,7 @@ API References
.. toctree::
:maxdepth: 1
API Reference <https://developer.openstack.org/api-ref/resource-optimization/>
API Reference <https://docs.openstack.org/api-ref/resource-optimization/>
Watcher API Microversion History </contributor/api_microversion_history>
Plugins

View File

@@ -33,7 +33,7 @@ class PlacementHelper(object):
@staticmethod
def get_error_msg(resp):
json_resp = resp.json()
# https://developer.openstack.org/api-ref/placement/#errors
# https://docs.openstack.org/api-ref/placement/#errors
if 'errors' in json_resp:
error_msg = json_resp['errors'][0].get('detail')
else:

View File

@@ -22,7 +22,7 @@ from watcher.objects import fields as wfields
class VolumeState(enum.Enum):
# https://developer.openstack.org/api-ref/block-storage/v3/#volumes-volumes
# https://docs.openstack.org/api-ref/block-storage/v3/#volumes-volumes
CREATING = 'creating'
AVAILABLE = 'available'