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
This commit is contained in:
parent
95fe3fda3d
commit
ee062922d1
@ -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
|
||||
|
@ -659,7 +659,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')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user