Merge "fuel_version in metadata should be a list, not a string"

This commit is contained in:
Jenkins 2014-11-06 13:26:52 +00:00 committed by Gerrit Code Review
commit 2bc95f071c
3 changed files with 4 additions and 3 deletions

View File

@ -7,7 +7,7 @@ version: ${plugin_version}
# Description
description: Enable to use plugin X for Neutron
# Required fuel version
fuel_version: '6.0'
fuel_version: ['6.0']
# The plugin is compatible with releases in the list
releases:

View File

@ -37,7 +37,8 @@ METADATA_SCHEMA = {
'version': {'type': 'string'},
'package_version': {'enum': ['1.0.0']},
'description': {'type': 'string'},
'fuel_version': {'type': 'string'},
'fuel_version': {'type': 'array',
'items': {'type': 'string'}},
'releases': {
'type': 'array',
'items': PLUGIN_RELEASE_SCHEMA}}}

View File

@ -6,7 +6,7 @@ version: '0.1.0'
# Description
description: Enable to use plugin X for Neutron
# Required fuel version
fuel_version: '6.0'
fuel_version: ['6.0']
# The plugin is compatible with releases in the list
releases: