Project

Profile

Help

Issue #4532

closed

Config blob is mentioned twice

Added by ipanova@redhat.com about 5 years ago. Updated almost 5 years ago.

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

Description

Config blob should be displayed only once under `config_blob` field, instead it is also present among `blobs`

$ http GET :8000/pulp/api/v3/content/docker/manifests/?repository_version=/pulp/api/v3/repositories/e87cc2cf-6f80-4cfc-8226-dbfcadcfb0db/versions/2/
HTTP/1.1 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Length: 4573
Content-Type: application/json
Date: Tue, 12 Mar 2019 14:04:20 GMT
Server: WSGIServer/0.2 CPython/3.7.2
Vary: Accept, Cookie
X-Frame-Options: SAMEORIGIN

{
    "count": 7,
    "next": null,
    "previous": null,
    "results": [
        {
            "_artifact": "/pulp/api/v3/artifacts/3f9323c4-10f8-47fb-90a8-0d1ea4cd7564/",
            "_created": "2019-03-12T12:36:54.193343Z",
            "_href": "/pulp/api/v3/content/docker/manifests/0a7a63b5-1825-4926-8504-6192365a7795/",
            "_type": "docker.manifest",
            "blobs": [
                "/pulp/api/v3/content/docker/blobs/e72b8d2d-c139-47c9-8bd9-cc74fecca56d/",
                "/pulp/api/v3/content/docker/blobs/c3307d87-baf9-4351-92e9-9db6377f2cf2/"
            ],
            "config_blob": "/pulp/api/v3/content/docker/blobs/e72b8d2d-c139-47c9-8bd9-cc74fecca56d/",
            "digest": "sha256:59ee6a2436d7b4f3eeb47eaae6e01cafa1159911a3154d0c3167387b55ba212f",
            "media_type": "application/vnd.docker.distribution.manifest.v2+json",
            "schema_version": 2
        },

Also available in: Atom PDF