Merge "Fix docstring for GET /os-migrations and related DB API"
This commit is contained in:
commit
fbc1e6d720
|
@ -69,7 +69,7 @@ class MigrationsController(wsgi.Controller):
|
|||
|
||||
@extensions.expected_errors(())
|
||||
def index(self, req):
|
||||
"""Return all migrations in progress."""
|
||||
"""Return all migrations using the query parameters as filters."""
|
||||
context = req.environ['nova.context']
|
||||
context.can(migrations_policies.POLICY_ROOT % 'index')
|
||||
migrations = self.compute_api.get_migrations(context, req.GET)
|
||||
|
|
|
@ -564,7 +564,7 @@ def migration_get_in_progress_by_host_and_node(context, host, node):
|
|||
|
||||
|
||||
def migration_get_all_by_filters(context, filters):
|
||||
"""Finds all migrations in progress."""
|
||||
"""Finds all migrations using the provided filters."""
|
||||
return IMPL.migration_get_all_by_filters(context, filters)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue