conf: Validate '[api] vendordata_providers' options

Only two options are currently supported. Let's hardcode this behavior.

Change-Id: I7609f408294ca151db9b7ff43d8c7bf6a4638a94
This commit is contained in:
Stephen Finucane 2017-10-19 09:47:18 +01:00
parent eaa425cbd2
commit 287170cf26

View File

@ -71,6 +71,7 @@ Possible values:
* Any string that represents zero or more versions, separated by spaces.
"""),
cfg.ListOpt('vendordata_providers',
item_type=cfg.types.String(choices=['StaticJSON', 'DynamicJSON']),
default=['StaticJSON'],
deprecated_group="DEFAULT",
help="""