Merge "Fixes wrong action comment 'lock' to 'unlock'"

This commit is contained in:
Jenkins 2013-07-24 09:30:29 +00:00 committed by Gerrit Code Review
commit d88ad164db

View File

@ -176,7 +176,7 @@ class AdminActionsController(wsgi.Controller):
@wsgi.action('unlock')
def _unlock(self, req, id, body):
"""Permit admins to lock a server."""
"""Permit admins to unlock a server."""
context = req.environ['nova.context']
authorize(context, 'unlock')
try: