Skip to content

Commit

Permalink
update custom_injectors and remove unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
thedoubl3j committed Dec 17, 2024
1 parent 2a38753 commit e0353a2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions awx/main/models/credential.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
)
from awx.main.models import Team, Organization
from awx.main.utils import encrypt_field
from awx_plugins.credentials import injectors as builtin_injectors
from awx_plugins.interfaces._temporary_private_licensing_api import detect_server_product_name


Expand Down Expand Up @@ -450,7 +449,7 @@ def from_db(cls, db, field_names, values):
native = ManagedCredentialType.registry[instance.namespace]
instance.inputs = native.inputs
instance.injectors = native.injectors
instance.custom_injectors = native.custom_injectors
instance.custom_injectors = getattr(native, 'custom_injectors', None)
return instance

def get_absolute_url(self, request=None):
Expand Down

0 comments on commit e0353a2

Please sign in to comment.