summaryrefslogtreecommitdiff
path: root/lib/chef/provider/dsc_resource.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/provider/dsc_resource.rb')
-rw-r--r--lib/chef/provider/dsc_resource.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/dsc_resource.rb b/lib/chef/provider/dsc_resource.rb
index fabb695803..2812c154c6 100644
--- a/lib/chef/provider/dsc_resource.rb
+++ b/lib/chef/provider/dsc_resource.rb
@@ -107,7 +107,7 @@ class Chef
if found[0]['Module'].nil?
:none
else
- found[0]['Module']
+ found[0]['Module']['Name']
end
else
raise Chef::Exceptions::MultipleDscResourcesFound, found