Commit 34012362 authored by Aleksey Shirokih's avatar Aleksey Shirokih
Browse files

Ansible can only set string values to json

parent 6071ae05
......@@ -462,7 +462,7 @@ class ConsulDCS(DCSBase):
r = yield self.consul.kv.put(
key=manifest_path,
value=ujson.dumps({
"Limit": total_slots,
"Limit": str(total_slots),
"Holders": holders
}, indent=2),
cas=cas
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment