mirror of
https://github.com/ansible/awx.git
synced 2026-02-28 08:18:43 -03:30
change inventory error warning
This commit is contained in:
@@ -88,7 +88,7 @@ class AdHocCommand(UnifiedJob):
|
|||||||
def clean_inventory(self):
|
def clean_inventory(self):
|
||||||
inv = self.inventory
|
inv = self.inventory
|
||||||
if not inv:
|
if not inv:
|
||||||
raise ValidationError('Inventory is no longer available.')
|
raise ValidationError('No valid inventory.')
|
||||||
return inv
|
return inv
|
||||||
|
|
||||||
def clean_credential(self):
|
def clean_credential(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user