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(-) (limited to 'libpod') 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 From c04ec104dff4f3f8bdc6650d3d93ca58726bb48a Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Wed, 25 May 2022 12:30:19 +0200 Subject: libpod/pod_top_linux.go: s/TODO/NOTE/ As it really is a note and not a TODO item. Signed-off-by: Valentin Rothberg --- libpod/pod_top_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpod') diff --git a/libpod/pod_top_linux.go b/libpod/pod_top_linux.go index 83a070807..544126dcd 100644 --- a/libpod/pod_top_linux.go +++ b/libpod/pod_top_linux.go @@ -53,7 +53,7 @@ func (p *Pod) GetPodPidInformation(descriptors []string) ([]string, error) { } } - // TODO: psgo returns a [][]string to give users the ability to apply + // NOTE: psgo returns a [][]string to give users the ability to apply // filters on the data. We need to change the API here to return // a [][]string if we want to make use of filtering. opts := psgo.JoinNamespaceOpts{FillMappings: rootless.IsRootless()} -- cgit v1.2.3-54-g00ecf