Merge "Update api-ref location"
This commit is contained in:
@@ -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/
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user