-
-
Save daviddavis/8ab24a68a72035d6a3bfc7412c992928 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/pulpcore/plugin/stages/artifact_stages.py b/pulpcore/plugin/stages/artifact_stages.py | |
index 570446c..87b1454 100644 | |
--- a/pulpcore/plugin/stages/artifact_stages.py | |
+++ b/pulpcore/plugin/stages/artifact_stages.py | |
@@ -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