Skip to content

Commit

Permalink
ixi
Browse files Browse the repository at this point in the history
  • Loading branch information
aldor007 committed Oct 19, 2022
1 parent 2453eb3 commit 4dc8475
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/object/file_object.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ func parseRange(s string) (httpRange, error) {
minStart = math.MaxUint64
maxEnd := uint64(0)
rangesArr := strings.Split(s[6:], ",")
fmt.Println("RRR", rangesArr)
for _, ra := range rangesArr {
ra = strings.TrimSpace(ra)
if ra == "" {
Expand All @@ -204,7 +203,6 @@ func parseRange(s string) (httpRange, error) {
// If no start is specified, end specifies the
// range start relative to the end of the file.
i, err := strconv.ParseUint(start, 10, 64)
fmt.Println("sssstart", i)
if err != nil {
return httpRangeData, errors.New("invalid range")
}
Expand Down

0 comments on commit 4dc8475

Please sign in to comment.