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

@@ -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'