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
commit 7ad970f93a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,6 +69,7 @@ func (d *Driver) Features() map[driver.Feature]bool {
useContainerdSnapshotter = true
}
}
c.Close()
}
return map[driver.Feature]bool{
driver.OCIExporter: useContainerdSnapshotter,