Merge pull request #40105 from thaJeztah/close_the_door_please

testutil: daemon.Info() close client after request
This commit is contained in:
Sebastiaan van Stijn
2019-10-21 20:33:13 +02:00
committed by GitHub

View File

@@ -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
}