Fix minor "deferred" typo
Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
This commit is contained in:
parent
cb3c208a4d
commit
13f03c3f7a
5 changed files with 5 additions and 5 deletions
|
@ -49,5 +49,5 @@ func (s *Supervisor) start(t *StartTask) error {
|
||||||
|
|
||||||
s.startTasks <- task
|
s.startTasks <- task
|
||||||
ContainerCreateTimer.UpdateSince(start)
|
ContainerCreateTimer.UpdateSince(start)
|
||||||
return errDeferedResponse
|
return errDeferredResponse
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,5 +20,5 @@ var (
|
||||||
//
|
//
|
||||||
// TODO: we could probably do a typed error with another error channel for this to make it
|
// TODO: we could probably do a typed error with another error channel for this to make it
|
||||||
// less like magic
|
// less like magic
|
||||||
errDeferedResponse = errors.New("containerd: defered response")
|
errDeferredResponse = errors.New("containerd: deferred response")
|
||||||
)
|
)
|
||||||
|
|
|
@ -29,5 +29,5 @@ func (s *Supervisor) stats(t *StatsTask) error {
|
||||||
t.Stat <- s
|
t.Stat <- s
|
||||||
ContainerStatsTimer.UpdateSince(start)
|
ContainerStatsTimer.UpdateSince(start)
|
||||||
}()
|
}()
|
||||||
return errDeferedResponse
|
return errDeferredResponse
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,7 +32,7 @@ func (s *Supervisor) handleTask(i Task) {
|
||||||
default:
|
default:
|
||||||
err = ErrUnknownTask
|
err = ErrUnknownTask
|
||||||
}
|
}
|
||||||
if err != errDeferedResponse {
|
if err != errDeferredResponse {
|
||||||
i.ErrorCh() <- err
|
i.ErrorCh() <- err
|
||||||
close(i.ErrorCh())
|
close(i.ErrorCh())
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,7 +26,7 @@ func (s *Supervisor) handleTask(i Task) {
|
||||||
default:
|
default:
|
||||||
err = ErrUnknownTask
|
err = ErrUnknownTask
|
||||||
}
|
}
|
||||||
if err != errDeferedResponse {
|
if err != errDeferredResponse {
|
||||||
i.ErrorCh() <- err
|
i.ErrorCh() <- err
|
||||||
close(i.ErrorCh())
|
close(i.ErrorCh())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue