Merge "Use oslo_config new type PortOpt for port options"
This commit is contained in:
commit
c4d80be69a
@ -34,11 +34,11 @@ _WS_OPTIONS = (
|
||||
cfg.StrOpt('bind', default='127.0.0.1',
|
||||
help='Address on which the self-hosting server will listen.'),
|
||||
|
||||
cfg.IntOpt('port', default=9000,
|
||||
help='Port on which the self-hosting server will listen.'),
|
||||
cfg.PortOpt('port', default=9000,
|
||||
help='Port on which the self-hosting server will listen.'),
|
||||
|
||||
cfg.IntOpt('external-port', default=None,
|
||||
help='Port on which the service is provided to the user.'),
|
||||
cfg.PortOpt('external-port', default=None,
|
||||
help='Port on which the service is provided to the user.'),
|
||||
|
||||
)
|
||||
|
||||
|
@ -36,8 +36,8 @@ _WSGI_OPTIONS = (
|
||||
cfg.StrOpt('bind', default='127.0.0.1',
|
||||
help='Address on which the self-hosting server will listen.'),
|
||||
|
||||
cfg.IntOpt('port', default=8888,
|
||||
help='Port on which the self-hosting server will listen.'),
|
||||
cfg.PortOpt('port', default=8888,
|
||||
help='Port on which the self-hosting server will listen.'),
|
||||
)
|
||||
|
||||
_WSGI_GROUP = 'drivers:transport:wsgi'
|
||||
|
Loading…
x
Reference in New Issue
Block a user