Fix some typo in runtime and snapshots

Signed-off-by: Xiaodong Zhang <a4012017@sina.com>
This commit is contained in:
Xiaodong Zhang
2018-09-08 08:31:42 +08:00
parent 901b2ea2a7
commit e6d787172c
5 changed files with 5 additions and 5 deletions

View File

@@ -73,7 +73,7 @@ func (b *binary) Start(ctx context.Context) (_ *shim, err error) {
}
}()
// open the log pipe and block until the writer is ready
// this helps with syncronization of the shim
// this helps with synchronization of the shim
// copy the shim's logs to containerd's output
go func() {
defer f.Close()

View File

@@ -518,7 +518,7 @@ func (s *service) Delete(ctx context.Context, r *taskAPI.DeleteRequest) (*taskAP
select {
case <-time.After(5 * time.Second):
// Force close the container process since it didnt shutdown in time.
// Force close the container process since it didn't shutdown in time.
p.close()
case <-p.waitBlock:
}

View File

@@ -66,7 +66,7 @@ func loadShim(ctx context.Context, bundle *Bundle, events *exchange.Exchange, rt
}
}()
// open the log pipe and block until the writer is ready
// this helps with syncronization of the shim
// this helps with synchronization of the shim
// copy the shim's logs to containerd's output
go func() {
defer f.Close()