Skip to content

Commit 06b2cfb

Browse files
committed
Merge pull request #551 from mattbostock/fix_ipv4_doc
Fix reference to validate_bool in IP4 function
2 parents ef0c13b + 7b06878 commit 06b2cfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/puppet/parser/functions/validate_ipv4_address.rb

+1-1
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)