summaryrefslogtreecommitdiff
path: root/libpod/events
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@pm.me>2019-04-03 14:17:02 -0400
committerMatthew Heon <matthew.heon@pm.me>2019-05-03 10:36:16 -0400
commitcafb68e301ca808392aa31fda51370593fcabbed (patch)
tree9fd50dd31134685fb471c8acc4a86c89d9cac3ff /libpod/events
parent56356d70276bed453bfe67fee068a14b7c727b2f (diff)
downloadpodman-cafb68e301ca808392aa31fda51370593fcabbed.tar.gz
podman-cafb68e301ca808392aa31fda51370593fcabbed.tar.bz2
podman-cafb68e301ca808392aa31fda51370593fcabbed.zip
Add a restart event, and make one during restart policy
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'libpod/events')
-rw-r--r--libpod/events/config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpod/events/config.go b/libpod/events/config.go
index 36387e835..810988205 100644
--- a/libpod/events/config.go
+++ b/libpod/events/config.go
@@ -134,6 +134,8 @@ const (
// Renumber indicates that lock numbers were reallocated at user
// request.
Renumber Status = "renumber"
+ // Restart indicates the target was restarted via an API call.
+ Restart Status = "restart"
// Restore ...
Restore Status = "restore"
// Save ...