testutil: daemon.Info() close client after request
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
1e000435e6
commit
bbf82b2e53
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…
Add table
Reference in a new issue