Skip to content

Commit

Permalink
Merge pull request #222 from alexjfisher/EmptyWhen
Browse files Browse the repository at this point in the history
Fix rubocop Lint/EmptyWhen
  • Loading branch information
bastelfreak committed Sep 24, 2019
2 parents e5239e0 + 6002e31 commit 1c759cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/puppet/provider/firewalld_rich_rule/firewall_cmd.rb
Expand Up @@ -59,7 +59,8 @@ def eval_element
args << quote_keyval('protocol', @resource[:port]['protocol'])
when :icmp_block
args << quote_keyval('name', @resource[:icmp_block])
when :masquerade
# when :masquerade
# `masquerade` doesn't accept any arguments.
when :forward_port
args << quote_keyval('port', @resource[:forward_port]['port'])
args << quote_keyval('protocol', @resource[:forward_port]['protocol'])
Expand Down

0 comments on commit 1c759cf

Please sign in to comment.