Fix broken api links in lib/services

This is to fix broken api links in lib/services.

Change-Id: If6f389bd5a87fec4a5be4e1915109cb438cbf9e3
This commit is contained in:
zhufl 2017-08-01 13:29:59 +08:00
parent 0252bca0d9
commit eb83b0f36c
2 changed files with 2 additions and 3 deletions

View File

@ -78,7 +78,7 @@ class ServicesClient(base_compute_client.BaseComputeClient):
For a full list of available parameters, please refer to the official
API reference:
https://developer.openstack.org/api-ref/compute/#log-disabled-compute-service-information
https://developer.openstack.org/api-ref/compute/#disable-scheduling-for-a-compute-service-and-log-disabled-reason
"""
post_body = json.dumps(kwargs)
resp, body = self.put('os-services/disable-log-reason', post_body)

View File

@ -11,8 +11,7 @@
# under the License.
"""
https://developer.openstack.org/api-ref/identity/v3/index.html#\
get-service-catalog
https://developer.openstack.org/api-ref/identity/v3/index.html#get-service-catalog
"""
from oslo_serialization import jsonutils as json