Skip to content

Commit

Permalink
Changed to use SiteType.SERVER.
Browse files Browse the repository at this point in the history
  • Loading branch information
yhwen committed Nov 26, 2024
1 parent f424042 commit 5af9a2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nvflare/private/fed/simulator/simulator_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from typing import Dict, List, Optional

from nvflare.apis.fl_component import FLComponent
from nvflare.apis.fl_constant import FLContextKey, ReservedKey, ReservedTopic, ServerCommandKey
from nvflare.apis.fl_constant import FLContextKey, ReservedKey, ReservedTopic, ServerCommandKey, SiteType
from nvflare.apis.fl_context import FLContext
from nvflare.apis.shareable import ReturnCode, Shareable, make_reply
from nvflare.apis.workspace import Workspace
Expand Down Expand Up @@ -149,7 +149,7 @@ def deploy(self, args, grpc_args=None, secure_train=False):
os.makedirs(os.path.join(args.workspace, "startup"), exist_ok=True)
workspace = Workspace(args.workspace, "server", args.config_folder)
run_manager = RunManager(
server_name="server",
server_name=SiteType.SERVER,
engine=self.engine,
job_id="",
workspace=workspace,
Expand Down

0 comments on commit 5af9a2f

Please sign in to comment.