Skip to content

Commit 3a03471

Browse files
committed
[Deploy] Nit.
1 parent 243be07 commit 3a03471

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/fedml/computing/scheduler/model_scheduler/master_job_runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ def cleanup_runner_process(self, run_id):
460460
def start_device_inference_gateway(inference_port=ServerConstants.MODEL_INFERENCE_DEFAULT_PORT):
461461
# start unified inference server
462462
python_program = get_python_program()
463-
master_port_frm_env = os.getenv(ServerConstants.MODEL_INFERENCE_DEFAULT_PORT, None)
463+
master_port_frm_env = os.getenv(ServerConstants.ENV_MASTER_INFERENCE_PORT_KEY, None)
464464
if master_port_frm_env is not None:
465465
inference_port = int(master_port_frm_env)
466466
if not ServerConstants.is_running_on_k8s():

0 commit comments

Comments
 (0)