Use oslo_config new type PortOpt for port options
The oslo_config library provides new type PortOpt to validate the range of port now. Change-Id: Ibd80787afc1911cf8e517299756f4c8ab640f492 Depends-On: Ida294b05a85f5bef587b761fcd03c28c7a3474d8
This commit is contained in:
parent
bfe0a517c7
commit
a897dd32a9
@ -36,7 +36,7 @@ launch_opt = cfg.ListOpt(
|
||||
|
||||
api_opts = [
|
||||
cfg.StrOpt('host', default='0.0.0.0', help='Mistral API server host'),
|
||||
cfg.IntOpt('port', default=8989, help='Mistral API server port'),
|
||||
cfg.PortOpt('port', default=8989, help='Mistral API server port'),
|
||||
cfg.BoolOpt('allow_action_execution_deletion', default=False,
|
||||
help='Enables the ability to delete action_execution which '
|
||||
'has no relationship with workflows.'),
|
||||
|
Loading…
Reference in New Issue
Block a user