Merge pull request #1776 from tonistiigi/fix-conn-leak

docker: fix connection leak on features check
This commit is contained in:
Justin Chadwell
2023-05-09 09:52:18 +01:00
committed by GitHub

View File

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