Fix quotes and undefined variable

Replace single quotes for double ones in cookiecutter.json,
otherwise it leads to a decoding error.
Fix a typo in a variable name.

Change-Id: Iccc74d1d9a3d6b9757476adde4418d81e215152a
This commit is contained in:
Martin Kopec 2018-05-21 09:11:47 +00:00
parent 4f9fc77118
commit 0312bd7a2f
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
"service": "replace with the service it implements",
"repo_group": "openstack",
"repo_name": "replace with the name for the git repo",
"bug_tracker": ['Launchpad', 'Storyboard'],
"bug_tracker": ["Launchpad", "Storyboard"],
"bug_project": "replace with the name of the project on Launchpad or the ID from Storyboard",
"project_short_description": "OpenStack Boilerplate contains all the boilerplate you need to create an OpenStack package."
}

View File

@ -12,7 +12,7 @@ submitted for review via the Gerrit tool:
Pull requests submitted through GitHub will be ignored.
Bugs should be filed on {{ cookiebutter.bug_tracker }}
Bugs should be filed on {{ cookiecutter.bug_tracker }}
{%- if cookiecutter.bug_tracker == 'Launchpad' -%}
https://bugs.launchpad.net/{{ cookiecutter.bug_project }}