mirror of
https://github.com/moby/moby.git
synced 2026-08-08 00:52:17 +00:00
Merge pull request #40105 from thaJeztah/close_the_door_please
testutil: daemon.Info() close client after request
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user