File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -66,11 +66,14 @@ def _generate_staleness_report_per_image(
66
66
version_in_sagemaker_distribution = str (target_packages_match_spec_out [package ].get ("version" )).removeprefix (
67
67
"=="
68
68
)
69
+ package_string = (
70
+ package
71
+ if version_in_sagemaker_distribution == package_versions_in_upstream [package ]
72
+ else "${\color{red}" + package + "}$"
73
+ )
69
74
staleness_report_rows .append (
70
75
{
71
- "package" : package
72
- if version_in_sagemaker_distribution == package_versions_in_upstream [package ]
73
- else "${\color{red}" + package + "}$" ,
76
+ "package" : package_string ,
74
77
"version_in_sagemaker_distribution" : version_in_sagemaker_distribution ,
75
78
"latest_relavant_version" : package_versions_in_upstream [package ],
76
79
}
You can’t perform that action at this time.
0 commit comments