mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-14 15:58:38 -05:00
add v1 vs. v2 inclusion/exclusion
This commit is contained in:
@@ -2073,6 +2073,8 @@ class HostInsights(GenericAPIView):
|
||||
|
||||
model = Host
|
||||
serializer_class = EmptySerializer
|
||||
new_in_320 = True
|
||||
new_in_api_v2 = True
|
||||
|
||||
def _extract_insights_creds(self, credential):
|
||||
return (credential.inputs['username'], decrypt_field(credential, 'password'))
|
||||
|
||||
Reference in New Issue
Block a user