Project

Profile

Help

Issue #3250

closed

docker tag creation: inconsistent field names

Added by mihai.ibanescu@gmail.com over 6 years ago. Updated about 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version - Docker:
Platform Release:
2.15.1
Target Release - Docker:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

As a user of the REST API uploading a unit, I expect to look at the model's field names to find out what I'm supposed to upload.

The Tag model has a 'manifest_digest' field.

However, the upload code expects a 'digest' field:

https://github.com/pulp/pulp_docker/blob/master/plugins/pulp_docker/plugins/importers/upload.py#L331

Consistency would be nice, if it's not too much to ask.

Also available in: Atom PDF