Project

Profile

Help

Issue #9229

Updated by ipanova@redhat.com 4 months ago

After push operation Config Blob is saved with media_type from a Regular Blob. This issue does not seem to affect pull operation hence priority is not 'everything is on fire ' :)

After podman push : ```
``` In [4]: Blob.objects.distinct("media_type").values_list('media_type', flat=True)
Out[4]: <QuerySet ['application/vnd.docker.image.rootfs.diff.tar.gzip']>


In [5]: Manifest.objects.first().config_blob.media_type
Out[5]: 'application/vnd.docker.image.rootfs.diff.tar.gzip'

In [6]: Blob.objects.distinct("media_type").values_list('media_type', flat=True)
Out[6]: <QuerySet ['application/vnd.docker.image.rootfs.diff.tar.gzip']>
```
https://github.com/pulp/pulp_container/blob/master/pulp_container/app/registry_api.py#L685

Back