diff --git a/doc/source/command-objects/server.rst b/doc/source/command-objects/server.rst index 583acae050..ee6416fc7c 100644 --- a/doc/source/command-objects/server.rst +++ b/doc/source/command-objects/server.rst @@ -225,7 +225,7 @@ List servers server lock ----------- -Lock server +Lock a server. A non-admin user will not be able to execute actions .. program:: server lock .. code:: bash diff --git a/openstackclient/compute/v2/server.py b/openstackclient/compute/v2/server.py index 7259e424de..39ad700458 100644 --- a/openstackclient/compute/v2/server.py +++ b/openstackclient/compute/v2/server.py @@ -693,7 +693,8 @@ class ListServer(lister.Lister): class LockServer(command.Command): - """Lock server""" + + """Lock a server. A non-admin user will not be able to execute actions""" log = logging.getLogger(__name__ + '.LockServer')