mirror of
https://github.com/versity/versitygw.git
synced 2026-04-10 08:09:05 +00:00
Fixes #2030 When an object has offline blocks, the restore status was incorrectly set to `ongoing-request="false"` instead of omitting the header entirely, which causes s3 clients fail on parsing the x-amz-restore header. Remove the incorrect `stageNotInProgress` constant and simplify the `requestOngoing` initialization to reflect the correct default.