From 513081aa1ec458a2ef294cbdd192071a2b64c189 Mon Sep 17 00:00:00 2001 From: Gyubong Lee Date: Mon, 24 Jun 2024 02:52:38 +0000 Subject: [PATCH] chore: Update variable name --- src/ai/backend/storage/cli.py | 4 ++-- src/ai/backend/storage/config.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ai/backend/storage/cli.py b/src/ai/backend/storage/cli.py index dc6a52153b9..3da27370749 100644 --- a/src/ai/backend/storage/cli.py +++ b/src/ai/backend/storage/cli.py @@ -51,7 +51,7 @@ async def inspect_server_status(cli_ctx: CliContextInfo, storage_proxy_pid: int) path_type=pathlib.Path, ), default=None, - help="The config file path. (default: ./agent.toml and /etc/backend.ai/agent.toml)", + help="The config file path. (default: ./storage-proxy.toml and /etc/backend.ai/storage-proxy.toml)", ) @click.option( "--debug", @@ -78,7 +78,7 @@ def status( systemctl: bool = False, ) -> None: """ - Collect and print each storage proxy server process's status. + Collect and print each storage-proxy server process's status. """ try: diff --git a/src/ai/backend/storage/config.py b/src/ai/backend/storage/config.py index 1b2cc4375f0..7221242d1a0 100644 --- a/src/ai/backend/storage/config.py +++ b/src/ai/backend/storage/config.py @@ -31,7 +31,7 @@ _default_gid = os.getgid() -local_config_iv = ( +storage_proxy_local_config_iv = ( t.Dict( { t.Key("storage-proxy"): t.Dict( @@ -133,7 +133,7 @@ def load_local_config( override_key(raw_cfg, ("logging", "pkg-ns", "ai.backend"), log_level) try: - local_config = check(raw_cfg, local_config_iv) + local_config = check(raw_cfg, storage_proxy_local_config_iv) local_config["_src"] = cfg_src_path return local_config except ConfigurationError as e: