mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 14:36:00 -03:30
Merge pull request #2459 from AlanCoding/old_cred_msg
Change key to match old error message
This commit is contained in:
@@ -2163,7 +2163,7 @@ class InventorySourceSerializer(UnifiedJobTemplateSerializer, InventorySourceOpt
|
|||||||
cred
|
cred
|
||||||
)
|
)
|
||||||
if cred_error:
|
if cred_error:
|
||||||
raise serializers.ValidationError({"detail": cred_error})
|
raise serializers.ValidationError({"credential": cred_error})
|
||||||
|
|
||||||
return attrs
|
return attrs
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user