Skip to content

Commit

Permalink
Fix azure_object.type to equal Microsoft.Management/managementGroups. F…
Browse files Browse the repository at this point in the history
  • Loading branch information
kmj251 committed Aug 29, 2023
1 parent ebce748 commit 367915f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/modules/azure_rm_managementgroup_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def list_items(self):
return results

def to_dict(self, azure_object):
if azure_object.type == '/providers/Microsoft.Management/managementGroups':
if azure_object.type == 'Microsoft.Management/managementGroups':
return_dict = dict(
display_name=azure_object.display_name,
id=azure_object.id,
Expand Down

0 comments on commit 367915f

Please sign in to comment.