Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
During a run of prune images, history of a tag may get emptied. When an image with the same tag is re-pushed, the operation will fail because the history list is not expected to be empty. This patch checks the history list for non-emptiness before returning a valid tag event and ensures that tag is deleted from ImageStream's status.tags when the last item has been removed from its history during a prune. Signed-off-by: Michal Minar <miminar@redhat.com>
- Loading branch information