mirror of
https://github.com/niusmallnan/steve.git
synced 2025-07-17 16:11:15 +00:00
Don't mask errors when doing by name lookups
This commit is contained in:
parent
924c6d7021
commit
991a2a1776
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user