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:
@@ -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)
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user