Skip to content

Instantly share code, notes, and snippets.

Created March 24, 2021 17:09
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
diff --git a/pulpcore/plugin/stages/ b/pulpcore/plugin/stages/
index 570446c..87b1454 100644
--- a/pulpcore/plugin/stages/
+++ b/pulpcore/plugin/stages/
@@ -71,7 +71,8 @@ class QueryExistingArtifacts(Stage):
for d_content in batch:
for d_artifact in d_content.d_artifacts:
if d_artifact.artifact._state.adding:
- _check_for_forbidden_checksume_type(d_artifact.artifact)
+ if not d_artifact.deferred_download:
+ _check_for_forbidden_checksume_type(d_artifact.artifact)
for digest_type in Artifact.COMMON_DIGEST_FIELDS:
digest_value = getattr(d_artifact.artifact, digest_type)
if digest_value:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment