mirror of https://github.com/docker/buildx.git
docker: fix connection leak on features check
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
parent
c7c37c3591
commit
bebd244e33
|
|
@ -69,6 +69,7 @@ func (d *Driver) Features() map[driver.Feature]bool {
|
|||
useContainerdSnapshotter = true
|
||||
}
|
||||
}
|
||||
c.Close()
|
||||
}
|
||||
return map[driver.Feature]bool{
|
||||
driver.OCIExporter: useContainerdSnapshotter,
|
||||
|
|
|
|||
Loading…
Reference in New Issue