Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Andrey Yemelyanov
noc
Commits
34012362
Commit
34012362
authored
Apr 03, 2018
by
Aleksey Shirokih
Browse files
Ansible can only set string values to json
parent
6071ae05
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/dcs/consuldcs.py
View file @
34012362
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment