Fix some typo in runtime and snapshots
Signed-off-by: Xiaodong Zhang <a4012017@sina.com>
This commit is contained in:
@@ -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()
|
||||
|
@@ -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:
|
||||
}
|
||||
|
@@ -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()
|
||||
|
Reference in New Issue
Block a user