From: Ondrej Lichtner <olichtne(a)redhat.com>
Should be {} instead of None since this is automatically passed to the
_from_dict() method of a Parameters instance. This affects recipes where
we dynamically connect to machines as part of the recipe itself - for
example guest vms created during the recipe.
Signed-off-by: Ondrej Lichtner <olichtne(a)redhat.com>
---
lnst/Controller/Machine.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lnst/Controller/Machine.py b/lnst/Controller/Machine.py
index f63fd6f..10e0fdc 100644
--- a/lnst/Controller/Machine.py
+++ b/lnst/Controller/Machine.py
@@ -45,7 +45,7 @@ class Machine(object):
"""
def __init__(self, m_id, hostname, msg_dispatcher, ctl_config,
- libvirt_domain=None, rpcport=None, security=None, pool_params=None):
+ libvirt_domain=None, rpcport=None, security=None, pool_params={}):
self._id = m_id
self._hostname = hostname
self._mapped = False
--
2.28.0