Skip to content

Commit

Permalink
improve compatability between S3 implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
stv0g committed Jun 10, 2022
1 parent ac671a9 commit 0603e29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/handlers/complete.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"fmt"
"log"
"net/http"
"strings"

"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/s3"
Expand Down Expand Up @@ -159,6 +160,6 @@ func HandleComplete(c *gin.Context) {

c.JSON(200, &completionResponse{
URL: url,
ETag: *respCompleteMPU.ETag,
ETag: strings.Trim(*respCompleteMPU.ETag, "\""),
})
}

0 comments on commit 0603e29

Please sign in to comment.