fix(cms-deploy): preserve Compose-owned image labels
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user