Merge "deprecate "default_flavor" config option"
This commit is contained in:
@@ -19,8 +19,10 @@ from oslo_config import cfg
|
||||
flavor_opts = [
|
||||
cfg.StrOpt('default_flavor',
|
||||
default='m1.small',
|
||||
help='Default flavor to use for the EC2 API only. The Nova API '
|
||||
'does not support a default flavor.'),
|
||||
deprecated_for_removal=True,
|
||||
deprecated_reason='The EC2 API is deprecated',
|
||||
help='DEPRECATED: Default flavor to use for the EC2 API only. '
|
||||
'The Nova API does not support a default flavor.'),
|
||||
]
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
deprecations:
|
||||
- The ``default_flavor`` config option is now deprecated and may be removed
|
||||
as early as the 15.0.0 release. It is an option which was only relevant
|
||||
for the deprecated EC2 API and is not used in the Nova API.
|
||||
Reference in New Issue
Block a user