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

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}