docker: fix connection leak on features check

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
Tonis Tiigi 2023-05-07 21:58:19 -07:00
parent c7c37c3591
commit bebd244e33
No known key found for this signature in database
GPG Key ID: AFA9DE5F8AB7AF39

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,