Skip to content

Commit 0968945

Browse files
authored
Merge pull request #1055 from optiz0r/undef_fix
Fix undef comparison in rabbitmq-env.conf template
2 parents 83aa697 + 207700b commit 0968945

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/rabbitmq-env.conf.epp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<% $rabbitmq::config::environment_variables.keys.sort.each |$k| { -%>
2-
<%- unless $rabbitmq::config::environment_variables[$k] == Undef {-%>
2+
<%- unless $rabbitmq::config::environment_variables[$k] =~ Undef {-%>
33
<%= $k %>=<%= $rabbitmq::config::environment_variables[$k] %>
44
<%-} -%>
55
<% } -%>

0 commit comments

Comments
 (0)