[api] fire an event when renaming a container #13919
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
/kind feature
Description
When calling API method /libpod/container//rename, no event gets fired afterwards. There is no event type for container renaming defined.
Having "rename" event fired would help in implementing renaming functionality in client UI such as cockpit-podman. Without such event, it is hard to detect that container has been renamed.
Steps to reproduce the issue:
Describe the results you received:
There is no event triggered and client consuming podman API does not get notified about new container name, getting into inconsistent state.
Describe the results you expected:
There should be some event triggered when renaming a container. New event type for could be named for example "rename".
Output of
podman version
:Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)
No. There is no "rename" event documented in latest version: https://github.com/containers/podman/blob/main/docs/source/markdown/podman-events.1.md
Additional environment details:
does not depend on environment. Tested on Fedora 35.
The text was updated successfully, but these errors were encountered: