add docs and github link

This commit is contained in:
RockYang
2024-01-30 16:18:27 +08:00
parent bf65746d00
commit 7a833e2233
5 changed files with 48 additions and 36 deletions

View File

@@ -136,10 +136,10 @@ func (p *ServicePool) DownloadImages() {
imgURL, err = p.uploaderManager.GetUploadHandler().PutImg(v.OrgURL, true)
}
if err != nil {
logger.Error("error with download image: ", err)
logger.Errorf("error with download image %s, %v", v.OrgURL, err)
continue
} else {
logger.Info("download image %v successfully.", v.OrgURL)
logger.Infof("download image %s successfully.", v.OrgURL)
}
v.ImgURL = imgURL