@@ -87,7 +87,7 @@ func (b *binary) Start(ctx context.Context, opts *types.Any, onClose func()) (_
|
||||
defer f.Close()
|
||||
if _, err := io.Copy(os.Stderr, f); err != nil {
|
||||
// When using a multi-container shim the 2nd to Nth container in the
|
||||
// shim will not have a seperate log pipe. Ignore the failure log
|
||||
// shim will not have a separate log pipe. Ignore the failure log
|
||||
// message here when the shim connect times out.
|
||||
if !os.IsNotExist(errors.Cause(err)) {
|
||||
log.G(ctx).WithError(err).Error("copy shim log")
|
||||
|
||||
@@ -261,7 +261,7 @@ func (c *Container) Process(id string) (process.Process, error) {
|
||||
// ReserveProcess checks for the existence of an id and atomically
|
||||
// reserves the process id if it does not already exist
|
||||
//
|
||||
// Returns true if the process id was sucessfully reserved and a
|
||||
// Returns true if the process id was successfully reserved and a
|
||||
// cancel func to release the reservation
|
||||
func (c *Container) ReserveProcess(id string) (bool, func()) {
|
||||
c.mu.Lock()
|
||||
|
||||
@@ -79,7 +79,7 @@ func loadShim(ctx context.Context, bundle *Bundle, events *exchange.Exchange, rt
|
||||
defer f.Close()
|
||||
if _, err := io.Copy(os.Stderr, f); err != nil {
|
||||
// When using a multi-container shim the 2nd to Nth container in the
|
||||
// shim will not have a seperate log pipe. Ignore the failure log
|
||||
// shim will not have a separate log pipe. Ignore the failure log
|
||||
// message here when the shim connect times out.
|
||||
if !os.IsNotExist(errors.Cause(err)) {
|
||||
log.G(ctx).WithError(err).Error("copy shim log")
|
||||
|
||||
Reference in New Issue
Block a user