From b19e2d6f80812c28f54f39bde04e9e586be9b964 Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Wed, 25 May 2022 12:26:43 +0200 Subject: events: drop TODO comment We can evaluate a solution in case adding more events really turns into a problem. Signed-off-by: Valentin Rothberg --- libpod/events/events.go | 2 -- 1 file changed, 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(): -- cgit v1.2.3-54-g00ecf