Skip to content

Commit

Permalink
chore: Update variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
jopemachine committed Jun 24, 2024
1 parent 3bb526d commit 3112742
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ai/backend/web/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
}

config_iv = t.Dict({
webserver_local_config_iv = t.Dict({
t.Key("service"): t.Dict({
t.Key("ip", default="0.0.0.0"): tx.IPAddress,
t.Key("port"): t.ToInt[1:65535],
Expand Down Expand Up @@ -173,7 +173,7 @@ def load_local_config(
config.override_key(raw_cfg, ("logging", "pkg-ns", "ai.backend"), log_level)

try:
cfg = config.check(raw_cfg, config_iv)
cfg = config.check(raw_cfg, webserver_local_config_iv)
config.set_if_not_set(cfg, ("pipeline", "frontend-endpoint"), cfg["pipeline"]["endpoint"])
return cfg
except ConfigurationError as e:
Expand Down

0 comments on commit 3112742

Please sign in to comment.