summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyota MIBU <r-mibu@cq.jp.nec.com>2018-06-08 00:17:15 +0900
committerRyota MIBU <r-mibu@cq.jp.nec.com>2018-06-08 00:18:52 +0900
commit2043ceeb08c1eca849daeb2b3696d385425ba061 (patch)
tree4a137bc16b498f35e803453868cb7ba24b7bb359
parentdb301edb5a06109628af0b2e3416751615f11153 (diff)
[consumer] fix default value for port number
Port number of consumer should be int instead of str. Change-Id: I7f7c7b23ede094d1d3278ef4cd5f971fb57ca2e8 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
-rw-r--r--doctor_tests/consumer/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doctor_tests/consumer/__init__.py b/doctor_tests/consumer/__init__.py
index 2c66a547..e5a36506 100644
--- a/doctor_tests/consumer/__init__.py
+++ b/doctor_tests/consumer/__init__.py
@@ -21,7 +21,7 @@ OPTS = [
help='the ip of consumer',
required=True),
cfg.IntOpt('port',
- default='12346',
+ default=12346,
help='the port of doctor consumer',
required=True),
]