Skip to content

Commit

Permalink
Fix docstring for _migrate_volume_completion
Browse files Browse the repository at this point in the history
"Migrate a volume to the specified host." as the description of
_migrate_volume_completion func is incorrect.

Closes-Bug: #1253910
Change-Id: Ica944d9a7fa962ff56a9f0107ac1519623d2e551
  • Loading branch information
huangtianhua authored and avishay-traeger committed Nov 24, 2013
1 parent 704faab commit 6dfb3ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cinder/api/contrib/admin_actions.py
Expand Up @@ -163,7 +163,7 @@ def _migrate_volume(self, req, id, body):

@wsgi.action('os-migrate_volume_completion')
def _migrate_volume_completion(self, req, id, body):
"""Migrate a volume to the specified host."""
"""Complete an in-progress migration."""
context = req.environ['cinder.context']
self.authorize(context, 'migrate_volume_completion')
try:
Expand Down

0 comments on commit 6dfb3ed

Please sign in to comment.