From 7a0a8f23f01b0c23184cdb0882e8e858527e786a Mon Sep 17 00:00:00 2001 From: Jonathan Herlin Date: Thu, 29 Nov 2018 21:37:18 +0100 Subject: [PATCH] Consistent about using True and False and not true and false Patch to make sure that True and False is consistent between documentation and the configuration template Change-Id: I562fbccc27a92a9c4f0ed851951f78da0cc5319c --- conf/conf.yaml | 8 ++++---- doc/source/configuration.rst | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/conf/conf.yaml b/conf/conf.yaml index 13b353c..4938c4e 100644 --- a/conf/conf.yaml +++ b/conf/conf.yaml @@ -178,19 +178,19 @@ DEFAULT_ACTION_SETTINGS: days_between_autoapprove: 30 SendAdditionalEmailAction: initial: - email_current_user: false + email_current_user: False reply: no-reply@example.com from: bounce+%(task_uuid)s@example.com subject: "Openstack Email Notification" template: null token: - email_current_user: false + email_current_user: False reply: no-reply@example.com from: bounce+%(task_uuid)s@example.com subject: "Openstack Email Notification" template: null completed: - email_current_user: false + email_current_user: False reply: no-reply@example.com from: bounce+%(task_uuid)s@example.com subject: "Openstack Email Notification" @@ -200,7 +200,7 @@ DEFAULT_ACTION_SETTINGS: # email_roles: # - project_admin # Or sends to an email set in the task cache - # email_task_cache: true + # email_task_cache: True # Or sends to an arbitrary admin email # email_additional_addresses: # - admin@example.org diff --git a/doc/source/configuration.rst b/doc/source/configuration.rst index f9f70db..c6702f6 100644 --- a/doc/source/configuration.rst +++ b/doc/source/configuration.rst @@ -233,9 +233,9 @@ for it's related task view. The additional email action can also send to a subset of people. -The user who made the request can be emailed with :: +The user who made the request can be emailed with:: - email_current_user: true + email_current_user: True Or the email can be sent to everyone who has a certain role on the project. (Multiple roles can also be specified) @@ -248,7 +248,7 @@ Or the email can be sent to everyone who has a certain role on the project. Or an email can be sent to a specified address in the task cache (key: ``additional_emails``) :: - email_in_task_cache: true + email_in_task_cache: True Or sent to an arbitrary administrative email address(es)::