mirror of
https://github.com/containers/podman.git
synced 2025-05-17 23:26:08 +08:00
auto update: create an event
Create an auto-update event for each invocation, independent if images and containers are updated or not. Those events will be indicated in the events already but users will now know why. Fixes: #14283 Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
@ -89,8 +89,8 @@ func (p *Pod) newPodEvent(status events.Status) {
|
||||
}
|
||||
}
|
||||
|
||||
// newSystemEvent creates a new event for libpod as a whole.
|
||||
func (r *Runtime) newSystemEvent(status events.Status) {
|
||||
// NewSystemEvent creates a new event for libpod as a whole.
|
||||
func (r *Runtime) NewSystemEvent(status events.Status) {
|
||||
e := events.NewEvent(status)
|
||||
e.Type = events.System
|
||||
|
||||
|
Reference in New Issue
Block a user