Store the checksum in PostPolicyHandler so that we can return it on Get/Head (#20364)

This commit is contained in:
Mark Theunissen 2024-09-02 23:13:54 +10:00 committed by GitHub
parent aaf4fb1184
commit d7ef6315ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -1200,6 +1200,7 @@ func (api objectAPIHandlers) PostPolicyBucketHandler(w http.ResponseWriter, r *h
writeErrorResponseHeadersOnly(w, toAPIError(ctx, err))
return
}
opts.WantChecksum = checksum
fanOutOpts := fanOutOptions{Checksum: checksum}