Skip to content

Commit

Permalink
fix(cdn): s3 check upload err
Browse files Browse the repository at this point in the history
  • Loading branch information
kumfo committed Jul 22, 2024
1 parent 8f90014 commit 0409966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdn-s3/s3_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,5 @@ func (s *Client) PutObject(key, ext string, file io.ReadSeeker) (err error) {
if err != nil {
return fmt.Errorf("failed to put object, %s", err.Error())
}
return nil
return err
}

0 comments on commit 0409966

Please sign in to comment.