From: Franco Catena Date: Thu, 5 Dec 2013 19:11:59 +0000 (-0300) Subject: Fix prefix exception message (Closes #23364) X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=7991dd20738209ab86a657ba62f2600ba39ca8ef;p=puppet-stdlib.git Fix prefix exception message (Closes #23364) --- diff --git a/lib/puppet/parser/functions/prefix.rb b/lib/puppet/parser/functions/prefix.rb index 62211ae..d02286a 100644 --- a/lib/puppet/parser/functions/prefix.rb +++ b/lib/puppet/parser/functions/prefix.rb @@ -28,7 +28,7 @@ Will return: ['pa','pb','pc'] if prefix unless prefix.is_a?(String) - raise Puppet::ParseError, "prefix(): expected second argument to be a String, got #{suffix.inspect}" + raise Puppet::ParseError, "prefix(): expected second argument to be a String, got #{prefix.inspect}" end end