Update stage constants for ongoing requests

Fix issue with incompatible S3 response for offline and staging status.

Resolves issue with Restic Glacier support.
This commit is contained in:
2026-03-18 09:46:55 -05:00
committed by GitHub
parent feffba80fa
commit c32ddfff1a
+2 -2
View File
@@ -114,8 +114,8 @@ func New(rootdir string, opts ScoutfsOpts) (*ScoutFS, error) {
const (
stageComplete = "ongoing-request=\"false\", expiry-date=\"Fri, 2 Dec 2050 00:00:00 GMT\""
stageInProgress = "true"
stageNotInProgress = "false"
stageInProgress = "ongoing-request=\"true\""
stageNotInProgress = "ongoing-request=\"false\""
)
const (