containers / storage

Container Storage Library
Apache License 2.0
558 stars 239 forks source link

store: improve error from MountImage() #1873

Closed giuseppe closed 6 months ago

giuseppe commented 6 months ago

improve the error message returned when MountImage() tries to use a layer from a read-only store.

Previously it returned a simple "layer not known".

giuseppe commented 6 months ago

@rhatdan @nalind PTAL

rhatdan commented 6 months ago

LGTM

rhatdan commented 6 months ago

@mtrmac @saschagrunert @flouthoc @vrothberg PTAL

openshift-ci[bot] commented 6 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: flouthoc, giuseppe

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/containers/storage/blob/main/OWNERS)~~ [flouthoc,giuseppe] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
rhatdan commented 6 months ago

/lgtm