-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[Issue #4703] Add the pod name when we use podman ps -p
#4748
Conversation
Hi @NevilleC. Thanks for your PR. I'm waiting for a containers member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
That sounds like the right thing to do in this case.
…On Wed, Dec 25, 2019, 08:22 NevilleC ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In libpod/container.go
<#4748 (comment)>:
> @@ -227,6 +227,8 @@ type ContainerConfig struct {
Name string `json:"name"`
// Full ID of the pood the container belongs to
Pod string `json:"pod,omitempty"`
+ // Name of the pod the container belongs to
+ PodName string `json:"podName,omitempty"`
I could fix the tests in the CI by ensuring that the pod lookup is done
if, and only if, the user has requested the pod details.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
<#4748>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB3AOCALIUDVJMPEIM3U7F3Q2NNBLANCNFSM4J7BMBBQ>
.
|
672729c
to
2a589ad
Compare
Ahhh, it's Varlink. You didn't pipe it through the Varlink adapter code - @baude Given the state of Varlink right now, I'd almost rather we not do that and |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mheon, NevilleC 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 |
Looks like podman remote tests are failing? |
The pod name does not appear when doing `podman ps -p`. It is missing as the documentation says: -p, --pod Print the ID and name of the pod the containers are associated with The pod name is added in the ps output and checked in unit tests. Closes containers#4703 Signed-off-by: NevilleC <[email protected]>
@rhatdan Yes, I was waiting for an answer to see if I should pipe it through the Varlink adapter code or use the I used the The CI should pass now. |
LGTM |
LGTM
…On Sat, Dec 28, 2019, 06:35 Daniel J Walsh ***@***.***> wrote:
LGTM
@mheon <https://github.com/mheon> PTAL
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4748>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB3AOCHSHMJGTCVKBV4ZXN3Q242XXANCNFSM4J7BMBBQ>
.
|
/lgtm |
The pod name does not appear when doing
podman ps -p
.It is missing as the documentation says:
-p, --pod Print the ID and name of the pod the containers are associated with
When we create a container, the pod name will be added in the ps output.
On master:
We cannot see the pod name in the second command.
On the feature branch:
The pod name does appear.
Closes #4703
Signed-off-by: NevilleC [email protected]