Skip to content

Commit

Permalink
Merge pull request chef#3144 from chef/jdm/dsc-resource
Browse files Browse the repository at this point in the history
Fixed bug where module_name would return an object instead of string
  • Loading branch information
jaym committed Mar 25, 2015
2 parents 393c6e4 + 299deb3 commit b6eb10f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/chef/provider/dsc_resource.rb
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def module_name
if found[0]['Module'].nil?
:none
else
found[0]['Module']
found[0]['Module']['Name']
end
else
raise Chef::Exceptions::MultipleDscResourcesFound, found
Expand Down

0 comments on commit b6eb10f

Please sign in to comment.