mirror of
https://github.com/containers/podman.git
synced 2025-10-17 19:24:04 +08:00
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>
This commit is contained in:
@ -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():
|
||||
|
Reference in New Issue
Block a user