Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix panic in metadata content writer on copy error
The `createAndCopy` function is only called when `nw.w` is nil in order to create a new writer and prepare it. The current code is attempting to close `nw.w` when there is a copy error. The correct behavior would be to close the new writer and not touch `nw.w`. Signed-off-by: Derek McGowan <derek@mcg.dev>
- Loading branch information