Skip to content

Commit

Permalink
Fix missing GRPC boolean check in GRPC template (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
alessfg committed Mar 22, 2021
1 parent acceabf commit 9b44248
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ BUG FIXES:

* Add `state` parameter to package module in Molecule verification tests.
* In App Protect environments on SELinux enforced systems, the `nginx -t` handler fails when run from a directory that the nginx process' user does not have access to.
* Fix missing GRPC boolean check in GRPC template.

## 0.3.3 (January 28, 2021)

Expand Down
2 changes: 1 addition & 1 deletion templates/http/grpc.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

{% macro grpc_global(grpc) %}
{% if grpc['bind'] is defined %}
grpc_bind{{ ' off' if not grpc['bind'] }}{{ (' ' + grpc['bind']['address']) if grpc['bind']['address'] is defined }}{{' transparent' if (grpc['bind']['transparent'] is defined and grpc['bind']['transparent']) }};
grpc_bind{{ ' off' if not grpc['bind'] }}{{ (' ' + grpc['bind']['address']) if grpc['bind']['address'] is defined }}{{' transparent' if (grpc['bind']['transparent'] is defined and grpc['bind']['transparent']) | bool }};
{% endif %}
{% if grpc['buffer_size'] is defined %}
grpc_buffer_size {{ grpc['buffer_size'] }};
Expand Down

0 comments on commit 9b44248

Please sign in to comment.