Merge "Remove redundant _do_check_can_live_migrate_destination"

This commit is contained in:
Zuul 2018-04-17 22:25:39 +00:00 committed by Gerrit Code Review
commit e45b9c98ce

View File

@ -5864,13 +5864,6 @@ class ComputeManager(manager.Manager):
if None, ignore disk usage checking
: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(
self._get_compute_info(ctxt, instance.host))
dst_compute_info = obj_base.obj_to_primitive(