fix(cms-deploy): preserve Compose-owned image labels

This commit is contained in:
DCCONSTRUCTIONS
2026-11-05 09:38:33 +03:00
parent dc95821766
commit 06b722160c
7 changed files with 263 additions and 41 deletions
+2
View File
@@ -319,6 +319,8 @@ def cms_autodeploy_error_status(error, policy_errors):
# private, even if a caller mutates the exception's message or code.
if isinstance(error,CmsBuildBaseError) and error.code in CMS_BUILD_BASE_ERROR_CODES:
result['reason']=error.code
diagnostic=cms_base_public_diagnostic(error.diagnostic)
if diagnostic is not None:result['baseLookup']=diagnostic
return result