From 991a2a1776f68c7cd64324b53edb6ad9189c0822 Mon Sep 17 00:00:00 2001 From: Darren Shepherd Date: Fri, 23 Jul 2021 23:45:13 -0700 Subject: [PATCH] Don't mask errors when doing by name lookups --- pkg/stores/partition/store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/stores/partition/store.go b/pkg/stores/partition/store.go index 1961423..547eec1 100644 --- a/pkg/stores/partition/store.go +++ b/pkg/stores/partition/store.go @@ -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) {