fix(gallery): use inline YAML (#851)

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
Ettore Di Giacinto 2023-08-01 19:09:32 +02:00 committed by GitHub
parent 1e37ec727d
commit c309aac8f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -129,7 +129,7 @@ func (g *galleryApplier) Start(c context.Context, cm *config.ConfigLoader) {
} }
type galleryModel struct { type galleryModel struct {
gallery.GalleryModel gallery.GalleryModel `yaml:",inline"` // https://github.com/go-yaml/yaml/issues/63
ID string `json:"id"` ID string `json:"id"`
} }