Trival fix a collector bug
Trival fix of a collector bug. Change-Id: Ic993b3b90e1f7d67cfd75558046733b14a087739
This commit is contained in:
parent
f158a2e5de
commit
874b9ec081
@ -353,8 +353,7 @@ class Collector(periodic_task.PeriodicTasks):
|
|||||||
:param current_vms: A list of VM at the current time frame.
|
:param current_vms: A list of VM at the current time frame.
|
||||||
:return: A list of VM UUIDs removed since the last time frame.
|
:return: A list of VM UUIDs removed since the last time frame.
|
||||||
"""
|
"""
|
||||||
return substract_lists(previous_vms, current_vms)
|
return self.substract_lists(previous_vms, current_vms)
|
||||||
|
|
||||||
|
|
||||||
def substract_lists(self, list1, list2):
|
def substract_lists(self, list1, list2):
|
||||||
""" Return the elements of list1 that are not in list2.
|
""" Return the elements of list1 that are not in list2.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user