From bf3712122c38907ff4e4471dfc959e11c3826f77 Mon Sep 17 00:00:00 2001 From: Aaron Tan Date: Tue, 6 Jun 2017 11:28:56 -0400 Subject: [PATCH] Make up missing model help texts for job timeout. --- awx/main/models/inventory.py | 1 + awx/main/models/jobs.py | 1 + awx/main/models/projects.py | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/awx/main/models/inventory.py b/awx/main/models/inventory.py index 4bd551f678..076136093f 100644 --- a/awx/main/models/inventory.py +++ b/awx/main/models/inventory.py @@ -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, diff --git a/awx/main/models/jobs.py b/awx/main/models/jobs.py index 33f0ea3d2f..32e5bffe48 100644 --- a/awx/main/models/jobs.py +++ b/awx/main/models/jobs.py @@ -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, diff --git a/awx/main/models/projects.py b/awx/main/models/projects.py index 7a224c8d43..ee9f2c09aa 100644 --- a/awx/main/models/projects.py +++ b/awx/main/models/projects.py @@ -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):