Skip to content

Commit ee06292

Browse files
pnavarrolin-hua-cheng
authored andcommitted
Improving the help of the lock command.
The lock command allows you to block the actions on the server for the non-admin users. Improving the help so that api users understands better what locking a server implies. Change-Id: I925c946751602dc0f6bd1d31b514bc20bca585fa Closes-Bug: #1366279
1 parent 95fe3fd commit ee06292

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎doc/source/command-objects/server.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ List servers
225225
server lock
226226
-----------
227227

228-
Lock server
228+
Lock a server. A non-admin user will not be able to execute actions
229229

230230
.. program:: server lock
231231
.. code:: bash

‎openstackclient/compute/v2/server.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,8 @@ def take_action(self, parsed_args):
659659

660660

661661
class LockServer(command.Command):
662-
"""Lock server"""
662+
663+
"""Lock a server. A non-admin user will not be able to execute actions"""
663664

664665
log = logging.getLogger(__name__ + '.LockServer')
665666

0 commit comments

Comments
 (0)