mirror of
https://github.com/rancher/steve.git
synced 2025-04-28 03:10:32 +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.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) {
|
||||
|
Loading…
Reference in New Issue
Block a user