Skip to content

Commit

Permalink
Fix rubocop Lint/EmptyWhen
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjfisher committed Sep 24, 2019
1 parent e5239e0 commit 6002e31
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
Original file line number Diff line number Diff line change
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 6002e31

Please sign in to comment.