Skip to content
Snippets Groups Projects
Commit 99c48f7d authored by Thomas Bellman's avatar Thomas Bellman
Browse files

Fix function name in an error message.

In one error message raised by the canonicalize_macaddress() function,
the message claimed that it was from parse_host_mac_ip_list(), which
of course was wrong, probably due to copy-paste error.  Fix this.
parent 199b12e6
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,7 @@ module Puppet::Parser::Functions ...@@ -48,7 +48,7 @@ module Puppet::Parser::Functions
if args.length != 1 if args.length != 1
raise(Puppet::ParseError, raise(Puppet::ParseError,
"parse_host_mac_ip_list(): Wrong number of arguments") "canonicalize_macaddress(): Wrong number of arguments")
end end
canon_macs = [] canon_macs = []
[args[0]].flatten.each do |mac| [args[0]].flatten.each do |mac|
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment