From 874b9ec081f8c609f1bd7542b15d7439690b474c Mon Sep 17 00:00:00 2001 From: Kevin_Zheng Date: Fri, 8 Jan 2016 15:18:25 +0800 Subject: [PATCH] Trival fix a collector bug Trival fix of a collector bug. Change-Id: Ic993b3b90e1f7d67cfd75558046733b14a087739 --- terracotta/locals/collector.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/terracotta/locals/collector.py b/terracotta/locals/collector.py index ff74e7d..61943f7 100644 --- a/terracotta/locals/collector.py +++ b/terracotta/locals/collector.py @@ -353,8 +353,7 @@ class Collector(periodic_task.PeriodicTasks): :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 substract_lists(previous_vms, current_vms) - + return self.substract_lists(previous_vms, current_vms) def substract_lists(self, list1, list2): """ Return the elements of list1 that are not in list2.