Move away from positional arguments on UserDB calls for the packs controller
@@ -107,7 +107,7 @@ class PackInstallController(ActionExecutionsControllerMixin):
parameters['skip_dependencies'] = True
if not requester_user:
- requester_user = UserDB(cfg.CONF.system_user.user)
+ requester_user = UserDB(name=cfg.CONF.system_user.user)
new_liveaction_api = LiveActionCreateAPI(action='packs.install',
parameters=parameters,
@@ -134,7 +134,7 @@ class PackUninstallController(ActionExecutionsControllerMixin):
}
if not requester_user:
- requester_user = UserDB(cfg.CONF.system_user.user)
+ requester_user = UserDB(name=cfg.CONF.system_user.user)
new_liveaction_api = LiveActionCreateAPI(action='packs.uninstall',
parameters=parameters,
