Merge "Remove redundant _do_check_can_live_migrate_destination"
This commit is contained in:
commit
e45b9c98ce
@ -5864,13 +5864,6 @@ class ComputeManager(manager.Manager):
|
|||||||
if None, ignore disk usage checking
|
if None, ignore disk usage checking
|
||||||
:returns: a dict containing migration info
|
:returns: a dict containing migration info
|
||||||
"""
|
"""
|
||||||
return self._do_check_can_live_migrate_destination(ctxt, instance,
|
|
||||||
block_migration,
|
|
||||||
disk_over_commit)
|
|
||||||
|
|
||||||
def _do_check_can_live_migrate_destination(self, ctxt, instance,
|
|
||||||
block_migration,
|
|
||||||
disk_over_commit):
|
|
||||||
src_compute_info = obj_base.obj_to_primitive(
|
src_compute_info = obj_base.obj_to_primitive(
|
||||||
self._get_compute_info(ctxt, instance.host))
|
self._get_compute_info(ctxt, instance.host))
|
||||||
dst_compute_info = obj_base.obj_to_primitive(
|
dst_compute_info = obj_base.obj_to_primitive(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user