1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 01:21:21 +03:00

Merge pull request #6472 from jangsutsr/6317_make_up_missing_model_help_texts_for_job_timeout

Make up missing model help texts for job timeout
This commit is contained in:
Aaron Tan 2017-06-06 15:19:36 -04:00 committed by GitHub
commit fac72082d2
3 changed files with 3 additions and 1 deletions

View File

@ -952,6 +952,7 @@ class InventorySourceOptions(BaseModel):
timeout = models.IntegerField(
blank=True,
default=0,
help_text=_("The amount of time (in seconds) to run before the task is canceled."),
)
verbosity = models.PositiveIntegerField(
choices=INVENTORY_UPDATE_VERBOSITY_CHOICES,

View File

@ -145,6 +145,7 @@ class JobOptions(BaseModel):
timeout = models.IntegerField(
blank=True,
default=0,
help_text=_("The amount of time (in seconds) to run before the task is canceled."),
)
store_facts = models.BooleanField(
default=False,

View File

@ -114,7 +114,7 @@ class ProjectOptions(models.Model):
timeout = models.IntegerField(
blank=True,
default=0,
help_text=_("The amount of time to run before the task is canceled."),
help_text=_("The amount of time (in seconds) to run before the task is canceled."),
)
def clean_scm_type(self):