fix: make sure to run migration for envvar
@@ -104,8 +104,7 @@ class BentoMLConfiguration:
# as there is no way for us to infer what values user can pass in.
# however, if users pass in a version inside this value, we will that to migrate up
# if possible
- if "version" in override_config_map:
- override_version = override_config_map["version"]
+ override_version = override_config_map.get("version", use_version)
logger.debug(
"Found defined 'version=%d' in BENTOML_CONFIG_OPTIONS."
% override_version
