summaryrefslogtreecommitdiff
path: root/libpod/events/events.go
diff options
context:
space:
mode:
authorValentin Rothberg <vrothberg@redhat.com>2022-05-19 13:46:10 +0200
committerValentin Rothberg <vrothberg@redhat.com>2022-05-23 14:11:29 +0200
commitd66288315df4d756295aaa2f4a98a36b309c2554 (patch)
tree7225d83c732da653e2e28c11c5a6e0b16fd7ba9e /libpod/events/events.go
parent769e777656e62172ccdd1b98989627d6dae57a96 (diff)
downloadpodman-d66288315df4d756295aaa2f4a98a36b309c2554.tar.gz
podman-d66288315df4d756295aaa2f4a98a36b309c2554.tar.bz2
podman-d66288315df4d756295aaa2f4a98a36b309c2554.zip
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>
Diffstat (limited to 'libpod/events/events.go')
-rw-r--r--libpod/events/events.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpod/events/events.go b/libpod/events/events.go
index 04417fd8d..e83c2efee 100644
--- a/libpod/events/events.go
+++ b/libpod/events/events.go
@@ -150,6 +150,8 @@ func StringToStatus(name string) (Status, error) {
switch name {
case Attach.String():
return Attach, nil
+ case AutoUpdate.String():
+ return AutoUpdate, nil
case Build.String():
return Build, nil
case Checkpoint.String():