Skip to content

Commit 8112be0

Browse files
committed
Pass attribute name, not symbol, in attribute type validation
1 parent 1ece702 commit 8112be0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/puppet/resource_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def to_resource_shim(resource)
189189

190190
definition[:attributes].each do |name, options|
191191
type = Puppet::ResourceApi::DataTypeHandling.parse_puppet_type(
192-
:name,
192+
name,
193193
options[:type]
194194
)
195195

0 commit comments

Comments
 (0)