Skip to content

Commit 9cbb69f

Browse files
author
Masahiro Tanaka
committed
fix condition to launch restful gateway
1 parent ed265f2 commit 9cbb69f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mii/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ def _initialize_service(self,
332332
mii_configs,
333333
lb_config))
334334

335-
if mii_configs.restful_api_port > 0:
335+
if mii_configs.enable_restful_api:
336336
# start rest api server
337337
processes.append(
338338
self._launch_restful_gateway(deployment_name,

0 commit comments

Comments
 (0)