Move away from positional arguments on UserDB calls for the actionexecutions controller
@@ -110,7 +110,7 @@ class ActionExecutionsControllerMixin(BaseRestControllerMixin):
:type liveaction: :class:`LiveActionAPI`
"""
if not requester_user:
- requester_user = UserDB(cfg.CONF.system_user.user)
+ requester_user = UserDB(name=cfg.CONF.system_user.user)
# Assert action ref is valid
action_ref = liveaction_api.action
@@ -575,7 +575,7 @@ class ActionExecutionsController(BaseResourceIsolationControllerMixin,
"""
if not requester_user:
- requester_user = UserDB(cfg.CONF.system_user.user)
+ requester_user = UserDB(name=cfg.CONF.system_user.user)
from_model_kwargs = {
'mask_secrets': self._get_mask_secrets(requester_user, show_secrets=show_secrets)
@@ -660,7 +660,7 @@ class ActionExecutionsController(BaseResourceIsolationControllerMixin,
"""
if not requester_user:
- requester_user = UserDB(cfg.CONF.system_user.user)
+ requester_user = UserDB(name=cfg.CONF.system_user.user)
from_model_kwargs = {
'mask_secrets': self._get_mask_secrets(requester_user, show_secrets=show_secrets)
