Merge pull request #10463 from ioito/automated-cherry-pick-of-#10462-upstream-release-3.7

Automated cherry pick of #10462: fix: add index for image_type
This commit is contained in:
Zexi Li
2021-03-22 10:45:20 +08:00
committed by GitHub
+1 -1
View File
@@ -90,7 +90,7 @@ type SCachedimage struct {
// 镜像类型, system: 公有云镜像, customized: 自定义镜像
// example: system
ImageType string `width:"16" default:"customized" list:"user"`
ImageType string `width:"16" default:"customized" list:"user" index:"true"`
}
func (self SCachedimage) GetGlobalId() string {