mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
commit
e33ea4fbde
3 changed files with 3 additions and 3 deletions
|
@ -527,7 +527,7 @@ func (r *controller) Logs(ctx context.Context, publisher exec.LogPublisher, opti
|
||||||
}
|
}
|
||||||
|
|
||||||
if msg.Err != nil {
|
if msg.Err != nil {
|
||||||
// the defered cancel closes the adapter's log stream
|
// the deferred cancel closes the adapter's log stream
|
||||||
return msg.Err
|
return msg.Err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -673,7 +673,7 @@ func (d *Driver) Get(id, mountLabel string) (containerfs.ContainerFS, error) {
|
||||||
title := fmt.Sprintf("lcowdriver: get: %s", id)
|
title := fmt.Sprintf("lcowdriver: get: %s", id)
|
||||||
logrus.Debugf(title)
|
logrus.Debugf(title)
|
||||||
|
|
||||||
// Generate the mounts needed for the defered operation.
|
// Generate the mounts needed for the deferred operation.
|
||||||
disks, err := d.getAllMounts(id)
|
disks, err := d.getAllMounts(id)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logrus.Debugf("%s failed to get all layer details for %s: %s", title, d.dir(id), err)
|
logrus.Debugf("%s failed to get all layer details for %s: %s", title, d.dir(id), err)
|
||||||
|
|
|
@ -35,7 +35,7 @@ func TestTmpfsDevShmNoDupMount(t *testing.T) {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
// Mimick the code flow of daemon.createSpec(), enough to reproduce the issue
|
// Mimic the code flow of daemon.createSpec(), enough to reproduce the issue
|
||||||
ms, err := d.setupMounts(c)
|
ms, err := d.setupMounts(c)
|
||||||
assert.Check(t, err)
|
assert.Check(t, err)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue