Remove implements plugins.ProcAdapter.
(id string)
| 82 | |
| 83 | // Remove implements plugins.ProcAdapter. |
| 84 | func (a *procToolAdapter) Remove(id string) (string, error) { |
| 85 | if err := a.supervisor().Remove(id); err != nil { |
| 86 | return "", err |
| 87 | } |
| 88 | return fmt.Sprintf("removed %s", id), nil |
| 89 | } |
| 90 | |
| 91 | // List implements plugins.ProcAdapter. |
| 92 | func (a *procToolAdapter) List() (string, error) { |