diff --git a/src/middlewared/middlewared/plugins/account.py b/src/middlewared/middlewared/plugins/account.py index a4431aa8daca7..1939af08d4fe5 100644 --- a/src/middlewared/middlewared/plugins/account.py +++ b/src/middlewared/middlewared/plugins/account.py @@ -1291,7 +1291,7 @@ async def setup_local_administrator(self, app, username, password, options): pass try: - grp_obj = await self.middleware.call('get.get_group_obj', {'groupname': 'admin'}) + grp_obj = await self.middleware.call('group.get_group_obj', {'groupname': 'admin'}) raise CallError(f'"admin" {grp_obj["source"].lower()} group already exists, ' 'setting up local administrator is not possible', errno.EEXIST)