1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-12 13:26:13 +00:00

added typer to store

This commit is contained in:
Jacob Payne
2021-09-21 14:02:30 -07:00
parent afd06f533c
commit b32c167679
7 changed files with 362 additions and 74 deletions

View File

@@ -51,7 +51,7 @@ func main() {
}
Schemas.MustImportAndCustomize(&version, Foo{}, func(schema *types.Schema) {
if err := crdFactory.AssignStores(context.Background(), types.DefaultStorageContext, schema); err != nil {
if err := crdFactory.AssignStores(context.Background(), types.DefaultStorageContext, nil, schema); err != nil {
panic(err)
}
})