mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-04 02:17:42 +08:00
Merge pull request #1776 from tonistiigi/fix-conn-leak
docker: fix connection leak on features check
This commit is contained in:
commit
7ad970f93a
@ -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