fix: some typos (#6283)

Signed-off-by: guoguangwu <guoguangwug@gmail.com>
This commit is contained in:
guangwu
2024-04-02 16:50:30 +08:00
committed by GitHub
parent 0e86036874
commit 2880ed70ce
2 changed files with 2 additions and 2 deletions

View File

@ -327,7 +327,7 @@ func GetRangedHttpReader(readCloser io.ReadCloser, offset, length int64) (io.Rea
length_int = int(length)
if offset > 100*1024*1024 {
log.Warnf("offset is more than 100MB, if loading data from internet, high-latency and wasting of bandwith is expected")
log.Warnf("offset is more than 100MB, if loading data from internet, high-latency and wasting of bandwidth is expected")
}
if _, err := io.Copy(io.Discard, io.LimitReader(readCloser, offset)); err != nil {