mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
fix: close manifest file (#1479)
Signed-off-by: guangwu <guoguangwug@gmail.com>
This commit is contained in:
parent
7b68b7827f
commit
2d373f16fa
@ -135,6 +135,7 @@ func ReadManifestSnapshotForDir(dir string) (Manifest, error) {
|
||||
}
|
||||
return nil, err
|
||||
}
|
||||
defer r.Close()
|
||||
return ReadManifestSnapshot(r)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user