-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Container List API call to return mount info #12735
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rhatdan 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:
Approvers can indicate their approval by writing |
54d6649
to
afbdf6f
Compare
Code LGTM, but your tests are red |
@edsantiago Any suggestion on how to test this? |
@rhatdan there are curl based tests for the apis in tests/apiv3 that could easily check this |
code LGTM |
@rhatdan by the time I looked at this (5 minutes after your email) you had done a force-push, and I see tests in this revision. The test doesn't actually work, it needs this change to work: - .[0].Mounts[0].Destination="/tmp" \
+ .[0].Mounts[0]="/tmp" \ Is that your question? |
We are hard coding mounts to return nil in compat API, since we have the data, we should return it. Fixes: containers#12734 Signed-off-by: Daniel J Walsh <[email protected]>
We are hard coding mounts to return nil in compat API,
since we have the data, we should return it.
Fixes: #12734
Signed-off-by: Daniel J Walsh [email protected]