Code Review
/
doctor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
|
inline
| side by side (parent:
db301ed
)
[consumer] fix default value for port number
39/58339/1
author
Ryota MIBU
<r-mibu@cq.jp.nec.com>
Thu, 7 Jun 2018 15:17:15 +0000
(
00:17
+0900)
committer
Ryota MIBU
<r-mibu@cq.jp.nec.com>
Thu, 7 Jun 2018 15:18:52 +0000
(
00:18
+0900)
Port number of consumer should be int instead of str.
Change-Id: I7f7c7b23ede094d1d3278ef4cd5f971fb57ca2e8
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
doctor_tests/consumer/__init__.py
patch
|
blob
|
history
diff --git
a/doctor_tests/consumer/__init__.py
b/doctor_tests/consumer/__init__.py
index
2c66a54
..
e5a3650
100644
(file)
--- 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',
help='the ip of consumer',
required=True),
cfg.IntOpt('port',
- default=
'12346'
,
+ default=
12346
,
help='the port of doctor consumer',
required=True),
]
help='the port of doctor consumer',
required=True),
]