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: Ibccdd672587c4dc9570b86f0132a64204fe9b5c2 Closes-Bug: #1366279
This commit is contained in:
parent
0f7bf49388
commit
9ee6d696e2
|
@ -1619,7 +1619,9 @@ def do_start(cs, args):
|
|||
|
||||
@cliutils.arg('server', metavar='<server>', help=_('Name or ID of server.'))
|
||||
def do_lock(cs, args):
|
||||
"""Lock a server."""
|
||||
"""Lock a server. A normal (non-admin) user will not be able to execute
|
||||
actions on a locked server.
|
||||
"""
|
||||
_find_server(cs, args.server).lock()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue