From 88ecc0f32695372e5c9074aa9aa653752ae71429 Mon Sep 17 00:00:00 2001 From: Chenxiong Qi Date: Mar 27 2020 07:17:53 +0000 Subject: Make resolve_commit not set published property A ContainerImage published property is resolved and set by resolve_published. Therefore, if resolve_commit sets the published property, there will be a side-effect when resolve_commit is called again against an already resolved image, that is published property is reset to None. Whatever a ContainerImage is published or not, resolve_published will always set the property. So, just simply remove ``published`` from return value of _get_default_additional_data(). Resolves: FACTORY-6028 Signed-off-by: Chenxiong Qi --- diff --git a/freshmaker/lightblue.py b/freshmaker/lightblue.py index c74e280..ed35f81 100644 --- a/freshmaker/lightblue.py +++ b/freshmaker/lightblue.py @@ -203,7 +203,6 @@ class ContainerImage(dict): "error": None, "arches": None, "odcs_compose_ids": None, - "published": None, "parent_image_builds": None, }