From e7e611f00475925e6691f3302648cdda1b48cb57 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Wed, 5 Jul 2017 19:41:09 +0200 Subject: Unbreak changing params Broken by the host power chages --- foremanhost.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/foremanhost.py b/foremanhost.py index 2638387..980743f 100644 --- a/foremanhost.py +++ b/foremanhost.py @@ -377,7 +377,7 @@ def update_param(hid, name, value, foreman_params): "value": value, }, } - do_put(hostparam_url, p, headers) + do_put(hostparam_url, json.dumps(p), headers) def ensure_params(hid, parameters): -- cgit v1.2.3