From acf6891dfb6729ad8d590e7ee7cdc62882f0da66 Mon Sep 17 00:00:00 2001 From: Anton Beloglazov Date: Fri, 12 Oct 2012 11:48:49 +1100 Subject: [PATCH] Another minor fix --- neat/globals/manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neat/globals/manager.py b/neat/globals/manager.py index bb0e38d..9858e0e 100644 --- a/neat/globals/manager.py +++ b/neat/globals/manager.py @@ -331,7 +331,7 @@ def execute_underload(config, state, host): for vm in vms_cpu.keys(): if not vm in vms_ram: - del vms_cpu[i] + del vms_cpu[vm] time_step = int(config['data_collector_interval']) migration_time = common.calculate_migration_time(