Skip to content

Commit

Permalink
named arg instead of kwargs
Browse files Browse the repository at this point in the history
Signed-off-by: Seth Foster <[email protected]>
  • Loading branch information
fosterseth committed Mar 5, 2025
1 parent ecb6f82 commit 4ed12d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions awx/main/models/credential.py
Original file line number Diff line number Diff line change
Expand Up @@ -550,10 +550,10 @@ def load_plugin(cls, ns, plugin):
# TODO: User "side-loaded" credential custom_injectors isn't supported
ManagedCredentialType.registry[ns] = SimpleNamespace(namespace=ns, name=plugin.name, kind='external', inputs=plugin.inputs, backend=plugin.backend)

def inject_credential(self, credential, env, safe_env, args, private_data_dir, **kwargs):
def inject_credential(self, credential, env, safe_env, args, private_data_dir, container_root=None):
from awx_plugins.interfaces._temporary_private_inject_api import inject_credential

inject_credential(self, credential, env, safe_env, args, private_data_dir, **kwargs)
inject_credential(self, credential, env, safe_env, args, private_data_dir, container_root=container_root)


class CredentialTypeHelper:
Expand Down

0 comments on commit 4ed12d8

Please sign in to comment.