summaryrefslogtreecommitdiff
path: root/libpod/events
diff options
context:
space:
mode:
authorValentin Rothberg <vrothberg@redhat.com>2022-05-25 12:26:43 +0200
committerValentin Rothberg <vrothberg@redhat.com>2022-05-25 12:26:43 +0200
commitb19e2d6f80812c28f54f39bde04e9e586be9b964 (patch)
treedfa10978ff0123439b7323421202385753335f3e /libpod/events
parentb13184dfb4fbef640dc3fe421d32de068672d4ed (diff)
downloadpodman-b19e2d6f80812c28f54f39bde04e9e586be9b964.tar.gz
podman-b19e2d6f80812c28f54f39bde04e9e586be9b964.tar.bz2
podman-b19e2d6f80812c28f54f39bde04e9e586be9b964.zip
events: drop TODO comment
We can evaluate a solution in case adding more events really turns into a problem. Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Diffstat (limited to 'libpod/events')
-rw-r--r--libpod/events/events.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/libpod/events/events.go b/libpod/events/events.go
index e83c2efee..a30e0f1ca 100644
--- a/libpod/events/events.go
+++ b/libpod/events/events.go
@@ -144,8 +144,6 @@ func StringToType(name string) (Type, error) {
}
// StringToStatus converts a string to an Event Status
-// TODO if we add more events, we might consider a go-generator to
-// create the switch statement
func StringToStatus(name string) (Status, error) {
switch name {
case Attach.String():