#4716 fix-4706

Merged
zouap merged 3 commits from fix-4606 into V20230912 7 months ago
  1. +1
    -1
      models/cloudbrain_image.go

+ 1
- 1
models/cloudbrain_image.go View File

@@ -177,7 +177,7 @@ func IsImageExist(tag string) (bool, error) {
}

func IsImageExistByUser(tag string, uid int64) (bool, error) {
return x.Where("type=?", TypeCloudBrainOne).Exist(&Image{
return x.Where("cloudbrain_type=?", TypeCloudBrainOne).Exist(&Image{
Tag: tag,
UID: uid,
Status: IMAGE_STATUS_SUCCESS,


Loading…
Cancel
Save