diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-05-25 10:42:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-25 10:42:23 -0400 |
commit | dbd4ee04b8dca865e6001d94565755fae60089c9 (patch) | |
tree | 9ba65731274883cc61f87adf7128580f87139e3f /libpod | |
parent | af01cd06dd2b8da743c5a52cb43b53fcfaef648f (diff) | |
parent | c3677f5151df0437a385a8e0d195b462a7c2c792 (diff) | |
download | podman-dbd4ee04b8dca865e6001d94565755fae60089c9.tar.gz podman-dbd4ee04b8dca865e6001d94565755fae60089c9.tar.bz2 podman-dbd4ee04b8dca865e6001d94565755fae60089c9.zip |
Merge pull request #14358 from vrothberg/todo-part-2
Todo part 2
Diffstat (limited to 'libpod')
-rw-r--r-- | libpod/events/events.go | 2 | ||||
-rw-r--r-- | libpod/pod_top_linux.go | 2 |
2 files changed, 1 insertions, 3 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(): 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()} |