Skip to content

Commit

Permalink
Update missing inventory error message (#14416)
Browse files Browse the repository at this point in the history
  • Loading branch information
marshmalien authored Sep 6, 2023
1 parent d03a6a8 commit b95d521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awx/api/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -3233,7 +3233,7 @@ def get_field_from_model_or_attrs(fd):
if get_field_from_model_or_attrs('host_config_key') and not inventory:
raise serializers.ValidationError({'host_config_key': _("Cannot enable provisioning callback without an inventory set.")})

prompting_error_message = _("Must either set a default value or ask to prompt on launch.")
prompting_error_message = _("You must either set a default value or ask to prompt on launch.")
if project is None:
raise serializers.ValidationError({'project': _("Job Templates must have a project assigned.")})
elif inventory is None and not get_field_from_model_or_attrs('ask_inventory_on_launch'):
Expand Down

0 comments on commit b95d521

Please sign in to comment.