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

docker: fix connection leak on features check
pull/1771/head
Justin Chadwell 2 years ago committed by GitHub
commit 7ad970f93a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save