Fix typos

Signed-off-by: nashasha1 <a4012017@sina.com>
This commit is contained in:
nashasha1
2018-09-07 16:59:42 +08:00
parent 901b2ea2a7
commit 7f03ad6579
4 changed files with 4 additions and 4 deletions

View File

@@ -134,7 +134,7 @@ func (hrs *httpReadSeeker) reader() (io.Reader, error) {
// There is an edge case here where offset == size of the content. If
// we seek, we will probably get an error for content that cannot be
// sought (?). In that case, we should err on committing the content,
// as the length is already satisified but we just return the empty
// as the length is already satisfied but we just return the empty
// reader instead.
hrs.rc = ioutil.NopCloser(bytes.NewReader([]byte{}))