Use PortOpt for port option
... to ensure that the given value is a valid port number within the accepted range. Change-Id: I0e8dda96d382c7ed931de9133eff65dcae13ae5d
This commit is contained in:
@@ -45,7 +45,7 @@ influx_storage_opts = [
|
||||
cfg.StrOpt('retention_policy', default='autogen',
|
||||
help='Retention policy to use'),
|
||||
cfg.StrOpt('host', help='InfluxDB host', default='localhost'),
|
||||
cfg.IntOpt('port', help='InfluxDB port', default=8086),
|
||||
cfg.PortOpt('port', help='InfluxDB port', default=8086),
|
||||
cfg.BoolOpt(
|
||||
'use_ssl',
|
||||
help='Set to true to use ssl for influxDB connection. '
|
||||
|
Reference in New Issue
Block a user