-
Notifications
You must be signed in to change notification settings - Fork 773
http_util.go: fix word in error message #805
Conversation
@@ -310,7 +310,7 @@ func GetRangeSE(rangeHTTPHeader string, length int64) ([]*RangeStruct, error) { | |||
if strings.ContainsAny(rangeHTTPHeader, "=") { | |||
rangeSlice := strings.Split(rangeHTTPHeader, "=") | |||
if len(rangeSlice) != 2 { | |||
return nil, errors.Wrapf(errortypes.ErrInvalidValue, "invaild range: %s, should be like bytes=0-1023", rangeStr) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found that there are two places in this file, which has the same incorrect spelling.
Could you help to fix that in this single pull request? @ethan-daocloud
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, I will find and fix that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@allencloud
And I check this file thoroughly, find one more , please confirm :)
Codecov Report
@@ Coverage Diff @@
## master #805 +/- ##
==========================================
- Coverage 39.46% 39.45% -0.02%
==========================================
Files 108 108
Lines 6294 6294
==========================================
- Hits 2484 2483 -1
Misses 3605 3605
- Partials 205 206 +1
Continue to review full report at Codecov.
|
cleanup:fix words typo in http_util.go Signed-off-by: Guangming Wang <[email protected]>
LGTM |
http_util.go: fix word in error message
http_util.go: fix word in error message
* refactor: scheduler evaluator Signed-off-by: Gaius <[email protected]>
Signed-off-by: Guangming Wang [email protected]
Ⅰ. Describe what this PR did
fix typos
Ⅱ. Does this pull request fix one issue?
Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗?)
yes.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews