From 32f32f598e23fc0f8416ae03dd4bee5401cc8238 Mon Sep 17 00:00:00 2001 From: Hao Yu Date: Mon, 11 Aug 2025 17:55:35 +1000 Subject: [PATCH] Don't export old manifest list which has been removed fixes #2041 --- pulp_container/app/modelresource.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pulp_container/app/modelresource.py b/pulp_container/app/modelresource.py index dfd7e8f85..7bf71f278 100644 --- a/pulp_container/app/modelresource.py +++ b/pulp_container/app/modelresource.py @@ -125,7 +125,8 @@ def set_up_queryset(self): :return: Manifests specific to a specified repo-version. """ return ManifestListManifest.objects.filter( - manifest_list__pk__in=self.repo_version.content + manifest_list__pk__in=self.repo_version.content, + image_manifest__pk__in=self.repo_version.content ).order_by("id") class Meta: