From 92497bfc757e51264cbdf31db11853c8b248fb06 Mon Sep 17 00:00:00 2001 From: Andrew Walker Date: Tue, 2 Jul 2024 09:49:21 -0700 Subject: [PATCH] Fix --- src/middlewared/middlewared/plugins/account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)