Skip to content

Commit

Permalink
Adding convert_bools into the template
Browse files Browse the repository at this point in the history
  • Loading branch information
jtyr committed Mar 10, 2015
1 parent 1bab4f9 commit 7267e55
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion templates/client.json.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{% from "templates/encoder/macros/json_encode_macro.j2" import json_encode with context -%}

{{ json_encode(sensu_client_config, convert_nums=true) }}
{{ json_encode(sensu_client_config, convert_bools=true, convert_nums=true) }}
2 changes: 1 addition & 1 deletion templates/config.json.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{% from "templates/encoder/macros/json_encode_macro.j2" import json_encode with context -%}

{{ json_encode(sensu_config, convert_nums=true) }}
{{ json_encode(sensu_config, convert_bools=true, convert_nums=true) }}
2 changes: 1 addition & 1 deletion templates/rabbitmq.json.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{% from "templates/encoder/macros/json_encode_macro.j2" import json_encode with context -%}

{{ json_encode(sensu_client_rabbitmq_config, convert_nums=true) }}
{{ json_encode(sensu_client_rabbitmq_config, convert_bools=true, convert_nums=true) }}

0 comments on commit 7267e55

Please sign in to comment.