Change molds option to appropriate class
At current, retry_attempt & retry_interval in ironic.conf [molds] is instance of StrOpt. However it should be IntOpt class. If it remains to StrOpt class, tenacity.retry wrapper in common/molds.py will fail with TypeError. Change-Id: Iafedf2ec0326009585c1cac251ecae65c9e666ac Story: 2010215 Task: 45957
This commit is contained in:
parent
45c9c3029f
commit
35bc014ed9
|
@ -26,11 +26,11 @@ opts = [
|
||||||
cfg.StrOpt('password',
|
cfg.StrOpt('password',
|
||||||
help=_('Password for "http" Basic auth. By default set '
|
help=_('Password for "http" Basic auth. By default set '
|
||||||
'empty.')),
|
'empty.')),
|
||||||
cfg.StrOpt('retry_attempts',
|
cfg.IntOpt('retry_attempts',
|
||||||
default=3,
|
default=3,
|
||||||
help=_('Retry attempts for saving or getting configuration '
|
help=_('Retry attempts for saving or getting configuration '
|
||||||
'molds.')),
|
'molds.')),
|
||||||
cfg.StrOpt('retry_interval',
|
cfg.IntOpt('retry_interval',
|
||||||
default=3,
|
default=3,
|
||||||
help=_('Retry interval for saving or getting configuration '
|
help=_('Retry interval for saving or getting configuration '
|
||||||
'molds.'))
|
'molds.'))
|
||||||
|
|
Loading…
Reference in New Issue