mirror of
https://opendev.org/openstack/ironic.git
synced 2026-01-11 19:57:20 +00:00
Validate [molds] storage while loading config files
... instead of only documenting the valid choices. Change-Id: I5f73da7f69242ec21dd60da36e7b176213888db1 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
parent
534e9ff6b8
commit
b51930c0d2
1 changed files with 2 additions and 2 deletions
|
|
@ -19,8 +19,8 @@ from ironic.common.i18n import _
|
|||
opts = [
|
||||
cfg.StrOpt('storage',
|
||||
default='swift',
|
||||
help=_('Configuration mold storage location. Supports "swift" '
|
||||
'and "http". By default "swift".')),
|
||||
choices=['swift', 'http'],
|
||||
help=_('Configuration mold storage location.')),
|
||||
cfg.StrOpt('user',
|
||||
help=_('User for "http" Basic auth. By default set empty.')),
|
||||
cfg.StrOpt('password',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue