Skip to content

Commit

Permalink
Merge pull request dragonflyoss#877 from yuxiaobo96/Dragonfly-fix7
Browse files Browse the repository at this point in the history
Modify the Chinese punctuation mark to the English punctuation mark
  • Loading branch information
starnop authored Sep 3, 2019
2 parents 9d41ae8 + 6c2a7e3 commit 9d8bf93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dfget/core/downloader/p2p_downloader/p2p_downloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ func (p2p *P2PDownloader) Run() error {
}
}

// NOTE: Should we call it directly here
// NOTE: Should we call it directly here?
// Maybe we should return an error and let the caller decide whether to call it.
if p2p.cfg.BackSourceReason != 0 {
backDownloader := backDown.NewBackDownloader(p2p.cfg, p2p.RegisterResult)
Expand Down
2 changes: 1 addition & 1 deletion dfget/core/uploader/uploader_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func FinishTask(ip string, port int, taskFileName, cid, taskID, node string) err
return uploaderAPI.FinishTask(ip, port, req)
}

// checkServer check if the server is available
// checkServer check if the server is available.
func checkServer(ip string, port int, dataDir, taskFileName string, totalLimit int) (string, error) {

// prepare the request body
Expand Down

0 comments on commit 9d8bf93

Please sign in to comment.