fix: fanout error response - error must be string for marshaling (#17433)

Uses https://github.com/minio/minio-go/pull/1839
This commit is contained in:
Klaus Post
2023-06-15 09:21:53 -07:00
committed by GitHub
parent a9082e4f79
commit 4a562d6732
3 changed files with 4 additions and 4 deletions

View File

@@ -1313,7 +1313,7 @@ func (api objectAPIHandlers) PostPolicyBucketHandler(w http.ResponseWriter, r *h
if errs[i] != nil {
fanOutResp = append(fanOutResp, minio.PutObjectFanOutResponse{
Key: objInfo.Name,
Error: errs[i],
Error: errs[i].Error(),
})
continue
}