Skip to content

Commit

Permalink
Fixing wrong class name issue in azure_rm_adduser.py(#538)
Browse files Browse the repository at this point in the history
* class are worngly named. fixed.
  • Loading branch information
haiyuazhang committed May 12, 2021
1 parent 5add79e commit 8dfc8ed
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions plugins/modules/azure_rm_aduser.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@
pass


class AzureRMADUserInfo(AzureRMModuleBase):
class AzureRMADUser(AzureRMModuleBase):
def __init__(self):

self.module_arg_spec = dict(
Expand Down Expand Up @@ -271,13 +271,13 @@ def __init__(self):
required_together = [['attribute_name', 'attribute_value']]
required_one_of = [['odata_filter', 'attribute_name', 'object_id', 'user_principal_name']]

super(AzureRMADUserInfo, self).__init__(derived_arg_spec=self.module_arg_spec,
supports_check_mode=False,
supports_tags=False,
mutually_exclusive=mutually_exclusive,
required_together=required_together,
required_one_of=required_one_of,
is_ad_resource=True)
super(AzureRMADUser, self).__init__(derived_arg_spec=self.module_arg_spec,
supports_check_mode=False,
supports_tags=False,
mutually_exclusive=mutually_exclusive,
required_together=required_together,
required_one_of=required_one_of,
is_ad_resource=True)

def exec_module(self, **kwargs):

Expand Down Expand Up @@ -416,7 +416,7 @@ def to_dict(self, object):


def main():
AzureRMADUserInfo()
AzureRMADUser()


if __name__ == '__main__':
Expand Down

0 comments on commit 8dfc8ed

Please sign in to comment.