Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

http_util.go: fix word in error message #805

Merged
merged 1 commit into from
Aug 12, 2019

Conversation

beautytiger
Copy link
Contributor

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

@pouchrobot pouchrobot added kind/bug This is bug report for project size/XS labels Aug 12, 2019
@@ -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)
Copy link
Contributor

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

Copy link
Contributor Author

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.

Copy link
Contributor Author

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-io
Copy link

codecov-io commented Aug 12, 2019

Codecov Report

Merging #805 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            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
Impacted Files Coverage Δ
pkg/httputils/http_util.go 6.28% <0%> (ø) ⬆️
supernode/daemon/mgr/scheduler/manager.go 24.06% <0%> (-0.76%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4e4cc17...d94e094. Read the comment docs.

cleanup:fix words typo in http_util.go

Signed-off-by: Guangming Wang <[email protected]>
@allencloud
Copy link
Contributor

LGTM

@pouchrobot pouchrobot added the LGTM one maintainer or community participant agrees to merge the pull reuqest. label Aug 12, 2019
@allencloud allencloud merged commit 93dce9e into dragonflyoss:master Aug 12, 2019
starnop pushed a commit to starnop/Dragonfly that referenced this pull request Nov 27, 2019
http_util.go: fix word in error message
inoc603 pushed a commit to inoc603/Dragonfly that referenced this pull request Dec 23, 2019
http_util.go: fix word in error message
sungjunyoung pushed a commit to sungjunyoung/Dragonfly that referenced this pull request May 8, 2022
* refactor: scheduler evaluator

Signed-off-by: Gaius <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug This is bug report for project LGTM one maintainer or community participant agrees to merge the pull reuqest. size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants