mirror of
https://github.com/rancher/norman.git
synced 2025-09-01 07:08:59 +00:00
Make queryopts be a pointer
This commit is contained in:
@@ -52,7 +52,7 @@ func (a *APIRootStore) ByID(apiContext *types.APIContext, schema *types.Schema,
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
func (a *APIRootStore) List(apiContext *types.APIContext, schema *types.Schema, opt types.QueryOptions) ([]map[string]interface{}, error) {
|
||||
func (a *APIRootStore) List(apiContext *types.APIContext, schema *types.Schema, opt *types.QueryOptions) ([]map[string]interface{}, error) {
|
||||
var roots []map[string]interface{}
|
||||
|
||||
for _, version := range apiContext.Schemas.Versions() {
|
||||
|
Reference in New Issue
Block a user