Skip to content

Commit

Permalink
Relax type validation in template
Browse files Browse the repository at this point in the history
It comes already validated from the calling class.
  • Loading branch information
nbarrientos committed Dec 9, 2020
1 parent 5527702 commit 42e7f3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/simplerule.epp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Optional[Nftables::Port] $dport,
Optional[String] $proto,
Optional[Nftables::Addr] $saddr,
Enum['ip', 'ip6'] $set_type,
String $set_type,
Optional[Nftables::Port] $sport,
| -%>
<%- if $proto {
Expand Down

0 comments on commit 42e7f3e

Please sign in to comment.