Project

Profile

Help

Issue #5094

closed

A creation of a file content from an artifact is incorrect

Added by lmjachky over 4 years ago. Updated over 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
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.

Also available in: Atom PDF