镜像列表接口拼接地址

Former-commit-id: bb55ca1d0a9e0dd0e7016b4ff6ac36a3cfca6b48
This commit is contained in:
zhangwei 2023-05-18 10:15:34 +08:00
parent 655f694121
commit b5285c3138
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ func (l *ImageListLogic) ImageList() (resp *types.ImageListResp, err error) {
for _, tag := range tags.Tags {
var name string
if tag != "latest" {
name = "hub.jcce.dev:18445/" + image + ":v" + tag
name = "hub.jcce.dev:18445/" + image + ":" + tag
} else {
name = "hub.jcce.dev:18445/" + image
}