mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #40105 from thaJeztah/close_the_door_please
testutil: daemon.Info() close client after request
This commit is contained in:
commit
1455f7d88d
1 changed files with 1 additions and 0 deletions
|
@ -721,6 +721,7 @@ func (d *Daemon) Info(t testing.TB) types.Info {
|
|||
c := d.NewClientT(t)
|
||||
info, err := c.Info(context.Background())
|
||||
assert.NilError(t, err)
|
||||
assert.NilError(t, c.Close())
|
||||
return info
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue