From 1ac6434c39092532384b52cd91cbdb7fcdc16afd Mon Sep 17 00:00:00 2001 From: Andrei Vishniakov <31008759+avishniakov@users.noreply.github.com> Date: Wed, 15 Nov 2023 10:10:07 +0100 Subject: [PATCH] fix linting bug in the core --- ...compare_promotion %}promote_with_metric_compare.py{% endif %} | 1 - 1 file changed, 1 deletion(-) diff --git a/template/steps/promotion/{% if metric_compare_promotion %}promote_with_metric_compare.py{% endif %} b/template/steps/promotion/{% if metric_compare_promotion %}promote_with_metric_compare.py{% endif %} index 7e31b9e..90fb269 100644 --- a/template/steps/promotion/{% if metric_compare_promotion %}promote_with_metric_compare.py{% endif %} +++ b/template/steps/promotion/{% if metric_compare_promotion %}promote_with_metric_compare.py{% endif %} @@ -47,7 +47,6 @@ def promote_with_metric_compare( latest_version = get_step_context().model_version current_version = ModelVersion(name=latest_version.name, version=target_env) - latest_version_number = latest_version.number current_version_number = current_version.number if current_version_number is None: