aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2017-07-05 19:41:09 +0200
committerGuido Günther <agx@sigxcpu.org>2017-07-05 19:42:38 +0200
commite7e611f00475925e6691f3302648cdda1b48cb57 (patch)
tree78b5fd7cc2b74e45d889301dcdce1782451c6152
parent9c8dd9ebbbd4dc37c9fdbde24faadb1d2d4e64c6 (diff)
Unbreak changing params
Broken by the host power chages
-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):