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
…ixes #1240 (#1252)
  • Loading branch information
kmj251 authored Sep 22, 2023
1 parent 37c5e8f commit be233cb
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 @@ -257,7 +257,7 @@ def list_items(self):
def to_dict(self, azure_object):
if not azure_object:
return []
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 be233cb

Please sign in to comment.