mirror of
https://github.com/ansible/awx.git
synced 2026-02-28 16:28:43 -03:30
Merge pull request #1719 from wwitzel3/issue-1699
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