Remove image_meta
Remove image_meta from function body as unused. Change-Id: I39a597d9b60424405eba26f4c5df14e18c1c0741
This commit is contained in:
parent
e1e04bb227
commit
ec18b52b8a
@ -782,13 +782,6 @@ class ResourceTracker(object):
|
||||
numa_topology = self._get_migration_context_resource(
|
||||
'numa_topology', instance, prefix='old_')
|
||||
|
||||
if image_meta is None:
|
||||
image_meta = objects.ImageMeta.from_instance(instance)
|
||||
# TODO(jaypipes): Remove when image_meta is always passed
|
||||
# as an objects.ImageMeta
|
||||
elif not isinstance(image_meta, objects.ImageMeta):
|
||||
image_meta = objects.ImageMeta.from_dict(image_meta)
|
||||
|
||||
if itype:
|
||||
usage = self._get_usage_dict(
|
||||
itype, numa_topology=numa_topology)
|
||||
|
Loading…
Reference in New Issue
Block a user