Browse Source

提交代码

tags/v1.22.4.1^2
ychao_1983 4 years ago
parent
commit
5e6e5ae6a0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      models/cloudbrain_image.go

+ 1
- 1
models/cloudbrain_image.go View File

@@ -439,7 +439,7 @@ func CreateLocalImage(image *Image) error {

func UpdateLocalImage(image *Image) error {

_, err := x.ID(image.ID).Update(image)
_, err := x.ID(image.ID).Cols("description", "is_private").Update(image)
return err
}



Loading…
Cancel
Save