Rename Events to task in supervisor
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
@@ -2,11 +2,11 @@ package supervisor
|
||||
|
||||
import "time"
|
||||
|
||||
type StatsEvent struct {
|
||||
type StatsTask struct {
|
||||
s *Supervisor
|
||||
}
|
||||
|
||||
func (h *StatsEvent) Handle(e *Event) error {
|
||||
func (h *StatsTask) Handle(e *Task) error {
|
||||
start := time.Now()
|
||||
i, ok := h.s.containers[e.ID]
|
||||
if !ok {
|
||||
|
||||
Reference in New Issue
Block a user