diff --git a/internal/supervisor/supervisor.go b/internal/supervisor/supervisor.go index fdb64f3a..fffc5794 100644 --- a/internal/supervisor/supervisor.go +++ b/internal/supervisor/supervisor.go @@ -70,7 +70,7 @@ func (h *Supervisor) AddProcess(name string, command string, opts ...Opt) { h.procs = append(h.procs, proc) } -func (h *Supervisor) runProcess(ctx context.Context, proc *process) error { +func (*Supervisor) runProcess(ctx context.Context, proc *process) error { restarts := 0 for {