summaryrefslogtreecommitdiff
path: root/lib/puppet/parser
diff options
context:
space:
mode:
authorHelen <helen@puppetlabs.com>2016-10-07 14:13:51 +0100
committerGitHub <noreply@github.com>2016-10-07 14:13:51 +0100
commitdb8edf5cb36e038c747d177914aaa747c770477d (patch)
tree307e89f4aafe8563b854eb1e9266337246a39406 /lib/puppet/parser
parente7825bc9dd0c33c986fcdc5e6dfd11c6cded8ca1 (diff)
parentddae9880025b6dfdc3b5a8c177548c8eb5e50a91 (diff)
Merge pull request #667 from DavidS/remove-dynamic-deprecation_gen
(FM-5703, PUP-6717) Remove the dynamic deprecation_gen function
Diffstat (limited to 'lib/puppet/parser')
-rw-r--r--lib/puppet/parser/functions/validate_slength.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/parser/functions/validate_slength.rb b/lib/puppet/parser/functions/validate_slength.rb
index 1641e5a..1828f49 100644
--- a/lib/puppet/parser/functions/validate_slength.rb
+++ b/lib/puppet/parser/functions/validate_slength.rb
@@ -21,7 +21,7 @@ module Puppet::Parser::Functions
ENDHEREDOC
- function_deprecation([:puppet_3_type_check, 'This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::String[x]. There is further documentation for validate_legacy function in the README.'])
+ function_deprecation([:puppet_3_type_check, 'This method is deprecated, please use the stdlib validate_legacy function, with String[]. There is further documentation for validate_legacy function in the README.'])
raise Puppet::ParseError, "validate_slength(): Wrong number of arguments (#{args.length}; must be 2 or 3)" unless args.length == 2 or args.length == 3