Skip to content

Commit 7b06878

Browse files
committed
Fix reference to validate_bool in IP4 function
The documentation in `validate_ipv4_address` references `validate_bool`, but I believe this should read `validate_ipv4_address` instead, which makes more sense.
1 parent ef0c13b commit 7b06878

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/puppet/parser/functions/validate_ipv4_address.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module Puppet::Parser::Functions
88
99
$my_ip = "1.2.3.4"
1010
validate_ipv4_address($my_ip)
11-
validate_bool("8.8.8.8", "172.16.0.1", $my_ip)
11+
validate_ipv4_address("8.8.8.8", "172.16.0.1", $my_ip)
1212
1313
The following values will fail, causing compilation to abort:
1414

0 commit comments

Comments
 (0)