SIGN IN SIGN UP

Ensure bufferWriter is always closed in Migration.Buffer and propagate close errors (#1308)

* Ensure bufferWriter is always closed and error is returned in Buffer()

* Ensure bufferWriter is always closed and error is returned in Buffer()

* addressed review comments. used named error and joined error to return final error

* Fixed defer block

---------

Co-authored-by: Chandra kant <chandra.kant@cohesity.com>
C
ckantcs committed
ed4bdd4614e991ca8fba606b38a45f6409a9deb6
Parent: 8945e85
Committed by GitHub <noreply@github.com> on 8/23/2025, 8:12:17 PM