commit da39f3f59e42e076c722be5c41d8b6c289cb7c9d
Author: Ondrej Lichtner <olichtne(a)redhat.com>
Date: Mon Sep 16 14:29:13 2013 +0200
SlavePool: fix copy-paste error
I forgot to change the parameters to a function call that I copied from
a different function. This commit fixes that.
Signed-off-by: Ondrej Lichtner <olichtne(a)redhat.com>
Signed-off-by: Jiri Pirko <jiri(a)resnulli.us>
lnst/Controller/SlavePool.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lnst/Controller/SlavePool.py b/lnst/Controller/SlavePool.py
index 24724be..d83de40 100644
--- a/lnst/Controller/SlavePool.py
+++ b/lnst/Controller/SlavePool.py
@@ -725,6 +725,6 @@ class SetupMapper:
if self._map_setup_virt(new_template, new_pool):
return True
- self._machine_map.discard((machine, possible_match))
+ self._machine_map.discard((machine_id, pm_id))
return False