mirror of https://github.com/containers/podman.git
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:
parent
b13184dfb4
commit
b19e2d6f80
|
@ -144,8 +144,6 @@ func StringToType(name string) (Type, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// StringToStatus converts a string to an Event Status
|
// 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) {
|
func StringToStatus(name string) (Status, error) {
|
||||||
switch name {
|
switch name {
|
||||||
case Attach.String():
|
case Attach.String():
|
||||||
|
|
Loading…
Reference in New Issue