diff options
| author | Cerberus <matt.dietz@rackspace.com> | 2011-02-16 17:51:43 -0600 |
|---|---|---|
| committer | Cerberus <matt.dietz@rackspace.com> | 2011-02-16 17:51:43 -0600 |
| commit | c01519112245f5e991ab438fe983bf9331d4e952 (patch) | |
| tree | 3ae894db9b8a241e99555099492644eb444325eb /nova/db | |
| parent | 8f206774ee75c2d96c15dd2c604ae5da9601d91f (diff) | |
fixed
Diffstat (limited to 'nova/db')
| -rw-r--r-- | nova/db/api.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/db/api.py b/nova/db/api.py index 295d1a90a..ab871c67e 100644 --- a/nova/db/api.py +++ b/nova/db/api.py @@ -273,7 +273,8 @@ def migration_get(context, migration_id): def migration_get_by_instance_and_status(context, instance_id, status): """Finds a migration by the instance id its migrating""" - return IMPL.migration_get_by_instance(context, instance_id) + return IMPL.migration_get_by_instance_and_status(context, instance_id, + status) #################### |
