From 2043ceeb08c1eca849daeb2b3696d385425ba061 Mon Sep 17 00:00:00 2001 From: Ryota MIBU Date: Fri, 8 Jun 2018 00:17:15 +0900 Subject: [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 --- doctor_tests/consumer/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), ] -- cgit 1.2.3-korg