aboutsummaryrefslogtreecommitdiff
path: root/foremanhost.py
diff options
context:
space:
mode:
Diffstat (limited to 'foremanhost.py')
-rw-r--r--foremanhost.py2
1 files changed, 1 insertions, 1 deletions
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):