Skip to content

Commit a376238

Browse files
committed
Adding deprecation warning for length (Puppet4 function).
1 parent 53f5a73 commit a376238

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/puppet/functions/length.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ def length(value)
1111
end
1212
result
1313
end
14+
Puppet.deprecation_warning('The length function is deprecated. This function is now shipped with Puppet in versions 5.5.0 and later. For more information please see Puppet 5.5.0 Release Notes.')
1415
end

0 commit comments

Comments
 (0)