mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-20 10:27:46 +08:00
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
|
useContainerdSnapshotter = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
c.Close()
|
||||||
}
|
}
|
||||||
return map[driver.Feature]bool{
|
return map[driver.Feature]bool{
|
||||||
driver.OCIExporter: useContainerdSnapshotter,
|
driver.OCIExporter: useContainerdSnapshotter,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user