summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/pick.rb
diff options
context:
space:
mode:
authorMatthew Haughton <3flex@users.noreply.github.com>2013-10-29 14:21:03 -0400
committerJosh Cooper <josh@puppetlabs.com>2013-10-29 12:01:25 -0700
commit57a5c0b3e36e1c01016865c264ca3642f64b5034 (patch)
treefb9c51c23a3eda8caff8cc3580b5ca45e774a870 /lib/puppet/parser/functions/pick.rb
parentd809a9ef417f64797bb04fd70bc6bc900c2534ee (diff)
(Main) fix typo in pick error message
Update pick error message "at least one non empty value"
Diffstat (limited to 'lib/puppet/parser/functions/pick.rb')
-rw-r--r--lib/puppet/parser/functions/pick.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/parser/functions/pick.rb b/lib/puppet/parser/functions/pick.rb
index e9e5d66..fdd0aef 100644
--- a/lib/puppet/parser/functions/pick.rb
+++ b/lib/puppet/parser/functions/pick.rb
@@ -21,7 +21,7 @@ EOS
args.delete(:undefined)
args.delete("")
if args[0].to_s.empty? then
- fail Puppet::ParseError, "pick(): must receive at last one non empty value"
+ fail Puppet::ParseError, "pick(): must receive at least one non empty value"
else
return args[0]
end