Fix leaking files in Ginkgo

Signed-off-by: Matthew Heon <mheon@redhat.com>

Closes: #612
Approved by: rhatdan
This commit is contained in:
Matthew Heon
2018-04-12 17:16:35 -04:00
committed by Atomic Bot
parent 6f51a5b2f9
commit ec90d6f4cc

View File

@ -326,6 +326,7 @@ func (p *PodmanTest) RestoreArtifact(image string) error {
storeOptions.GraphRoot = p.CrioRoot
storeOptions.RunRoot = p.RunRoot
store, err := sstorage.GetStore(storeOptions)
defer store.Shutdown(false)
options := &copy.Options{}
if err != nil {