Skip to content

Commit

Permalink
renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
bojiang committed Sep 27, 2022
1 parent b735382 commit ca9bf60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bentoml/_internal/configuration/containers.py
Expand Up @@ -290,7 +290,7 @@ def __init__(
config_merger.merge(self.config, override_config)

if override_config_file is not None or override_config_values is not None:
self._finish_config()
self._finalize()

if validate_schema:
try:
Expand All @@ -301,7 +301,7 @@ def __init__(
" conform to the required schema."
) from e

def _finish_config(self):
def _finalize(self):
global_runner_cfg = {k: self.config["runners"][k] for k in RUNNER_CFG_KEYS}
for key in self.config["runners"]:
if key not in RUNNER_CFG_KEYS:
Expand Down

0 comments on commit ca9bf60

Please sign in to comment.