From 1503eff4520aea2e469d804e2e99de607439f751 Mon Sep 17 00:00:00 2001 From: ghanshyam Date: Tue, 4 Jul 2017 17:01:38 +0300 Subject: [PATCH] Correct the description of 'disable-log-reason' api-ref 'disable-log-reason' API action disable the compute service and log the disabled reason. But api-ref statement sounds like this API only log the disable reason. Correcting description to convey the clear behavior of API. Closes-Bug: #1702310 Change-Id: I5e1b97ed482d62477d87c96c9914e6f88c041b8b --- api-ref/source/os-services.inc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/api-ref/source/os-services.inc b/api-ref/source/os-services.inc index f38541e45b..586f80baa0 100644 --- a/api-ref/source/os-services.inc +++ b/api-ref/source/os-services.inc @@ -7,8 +7,7 @@ ================================ Lists all running Compute services in a region, enables or disables -scheduling for a Compute service, logs disabled Compute service -information, and deletes a Compute service. +scheduling for a Compute service and deletes a Compute service. For an overview of Compute services, see `OpenStack Compute `__. @@ -96,12 +95,13 @@ Response .. literalinclude:: ../../doc/api_samples/os-services/service-disable-put-resp.json :language: javascript -Log Disabled Compute Service Information -======================================== +Disable Scheduling For A Compute Service and Log Disabled Reason +================================================================ .. rest_method:: PUT /os-services/disable-log-reason -Logs information to the Compute service table about why a Compute service was disabled. +Disables scheduling for a Compute service and logs information to the Compute +service table about why a Compute service was disabled. Specify the service by its host name and binary name. @@ -118,7 +118,7 @@ Request - binary: binary - disabled_reason: disabled_reason_body -**Example Log Disabled Compute Service Information** +**Example Disable Scheduling For A Compute Service and Log Disabled Reason** .. literalinclude:: ../../doc/api_samples/os-services/service-disable-log-put-req.json :language: javascript @@ -134,7 +134,7 @@ Response - host: host_name_body - status: service_status -**Example Log Disabled Compute Service Information** +**Example Disable Scheduling For A Compute Service and Log Disabled Reason** .. literalinclude:: ../../doc/api_samples/os-services/service-disable-log-put-resp.json :language: javascript