Issue 154 (#169)

* fix: Fixes #154, Changed GetObject range error to InvalidRange
This commit is contained in:
Jon Austin
2023-07-27 11:05:40 -07:00
committed by GitHub
parent 77080328c1
commit bf33b9f5a2
3 changed files with 22 additions and 1 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ func GetTimePtr(t time.Time) *time.Time {
}
var (
errInvalidRange = s3err.GetAPIError(s3err.ErrInvalidRequest)
errInvalidRange = s3err.GetAPIError(s3err.ErrInvalidRange)
)
// ParseRange parses input range header and returns startoffset, length, and