mirror of
https://github.com/niusmallnan/steve.git
synced 2025-09-05 15:11:26 +00:00
Don't mask errors when doing by name lookups
This commit is contained in:
@@ -101,7 +101,7 @@ func (s *Store) List(apiOp *types.APIRequest, schema *types.APISchema) (types.AP
|
|||||||
|
|
||||||
result.Revision = lister.Revision()
|
result.Revision = lister.Revision()
|
||||||
result.Continue = lister.Continue()
|
result.Continue = lister.Continue()
|
||||||
return result, nil
|
return result, lister.Err()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *Store) Create(apiOp *types.APIRequest, schema *types.APISchema, data types.APIObject) (types.APIObject, error) {
|
func (s *Store) Create(apiOp *types.APIRequest, schema *types.APISchema, data types.APIObject) (types.APIObject, error) {
|
||||||
|
Reference in New Issue
Block a user