mirror of
https://github.com/rancher/types.git
synced 2025-08-31 12:48:45 +00:00
Add VersionLinks field to schemas
This commit is contained in:
@@ -68,7 +68,9 @@ func catalogTypes(schemas *types.Schemas) *types.Schemas {
|
||||
AddMapperForType(&Version, v3.Template{},
|
||||
m.DisplayName{},
|
||||
).
|
||||
MustImport(&Version, v3.Template{}).
|
||||
MustImport(&Version, v3.Template{}, struct {
|
||||
VersionLinks map[string]string
|
||||
}{}).
|
||||
MustImport(&Version, v3.TemplateVersion{}).
|
||||
MustImport(&Version, v3.TemplateContent{})
|
||||
}
|
||||
|
Reference in New Issue
Block a user