Actions
Issue #5094
closedA creation of a file content from an artifact is incorrect
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation
Sprint:
Sprint 56
Quarter:
Description
In the documentation of the plugin pulp_file (https://pulp-file.readthedocs.io/en/latest/workflows/upload.html), there is an incorrect example of creating a file content from an artifact shown.
The code snippet which depicts an example usage of uploading the artifact, in the section called "Upload a file to Pulp", is the same as the code snippet in the section "Create file content from an Artifact".
The issue was introduced in the following commit: https://github.com/pulp/pulp_file/commit/2e0800af37061f05b4cd092b9d08decd5e97db8d#diff-c4e0672cc0c3acc6948e75b8d3248e1fL24.
Actions
Fix the reference to a corresponding script
Additional changes, like the different name of the relative path, were introduced in order to improve readability.
closes #5094 https://pulp.plan.io/issues/5094