summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortanhengyeow <E0032242@u.nus.edu>2018-07-08 11:35:34 +0800
committertanhengyeow <E0032242@u.nus.edu>2018-07-08 11:35:34 +0800
commit0616341e31ad13329707f934df79d27f0fc39407 (patch)
treeee5b8cc02f4a4573108062e74ad3395c498119a3
parent11941c87f448ce525eec9a8ca77c00c2b119eee7 (diff)
Fix typo of function description in helpers.py
Corrected the typo of function description in convert_mapping_to_xml. Change-Id: I368196e21ada21c6fdbac29a9f3141d0b719e872
Notes
Notes (review): Code-Review+1: wu.chunyang <wu.chunyang@99cloud.net> Code-Review+1: Anil Belur <askb23@gmail.com> Code-Review+2: Kien Ha <kienha9922@gmail.com> Workflow+1: Kien Ha <kienha9922@gmail.com> Verified+2: Zuul Code-Review+2: Sorin Sbarnea <ssbarnea@redhat.com> Workflow+1: Sorin Sbarnea <ssbarnea@redhat.com> Submitted-by: Zuul Submitted-at: Sun, 08 Jul 2018 16:02:37 +0000 Reviewed-on: https://review.openstack.org/580825 Project: openstack-infra/jenkins-job-builder Branch: refs/heads/master
-rw-r--r--jenkins_jobs/modules/helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jenkins_jobs/modules/helpers.py b/jenkins_jobs/modules/helpers.py
index 7c003b1..7e65261 100644
--- a/jenkins_jobs/modules/helpers.py
+++ b/jenkins_jobs/modules/helpers.py
@@ -601,7 +601,7 @@ def convert_mapping_to_xml(parent, data, mapping, fail_required=True):
601 If fail_required is False parameter is treated as optional. Logic will skip 601 If fail_required is False parameter is treated as optional. Logic will skip
602 configuring the XML tag for the parameter. We recommend for new plugins to 602 configuring the XML tag for the parameter. We recommend for new plugins to
603 set fail_required=True and instead of optional parameters provide a default 603 set fail_required=True and instead of optional parameters provide a default
604 value for all paramters that are not required instead. 604 value for all parameters that are not required instead.
605 605
606 valid_options provides a way to check if the value the user input is from a 606 valid_options provides a way to check if the value the user input is from a
607 list of available options. When the user pass a value that is not supported 607 list of available options. When the user pass a value that is not supported