mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 09:51:09 +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:
commit
fac72082d2
@ -952,6 +952,7 @@ class InventorySourceOptions(BaseModel):
|
|||||||
timeout = models.IntegerField(
|
timeout = models.IntegerField(
|
||||||
blank=True,
|
blank=True,
|
||||||
default=0,
|
default=0,
|
||||||
|
help_text=_("The amount of time (in seconds) to run before the task is canceled."),
|
||||||
)
|
)
|
||||||
verbosity = models.PositiveIntegerField(
|
verbosity = models.PositiveIntegerField(
|
||||||
choices=INVENTORY_UPDATE_VERBOSITY_CHOICES,
|
choices=INVENTORY_UPDATE_VERBOSITY_CHOICES,
|
||||||
|
@ -145,6 +145,7 @@ class JobOptions(BaseModel):
|
|||||||
timeout = models.IntegerField(
|
timeout = models.IntegerField(
|
||||||
blank=True,
|
blank=True,
|
||||||
default=0,
|
default=0,
|
||||||
|
help_text=_("The amount of time (in seconds) to run before the task is canceled."),
|
||||||
)
|
)
|
||||||
store_facts = models.BooleanField(
|
store_facts = models.BooleanField(
|
||||||
default=False,
|
default=False,
|
||||||
|
@ -114,7 +114,7 @@ class ProjectOptions(models.Model):
|
|||||||
timeout = models.IntegerField(
|
timeout = models.IntegerField(
|
||||||
blank=True,
|
blank=True,
|
||||||
default=0,
|
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):
|
def clean_scm_type(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user