pull/90161/head
Ryan McKinley 2 years ago
parent 428b90c14b
commit 8f4b3062d6
  1. 1
      pkg/services/store/entity/sqlstash/sql_storage_server.go

@ -655,6 +655,7 @@ func (s *sqlEntityServer) List(ctx context.Context, r *entity.EntityListRequest)
rvSubQuery.AddWhere("("+strings.Join(where, " OR ")+")", args...)
}
// nolint:staticcheck
if len(r.OriginKeys) > 0 {
entityQuery.AddWhereIn("origin_key", ToAnyList(r.OriginKeys))
rvMaxQuery.AddWhereIn("origin_key", ToAnyList(r.OriginKeys))

Loading…
Cancel
Save