Skip to content

Commit 7090c02

Browse files
fix(console): use ServiceKind for service list search
Query ServiceResource from ServiceKind instead of ServiceProviderMetadataKind so the non-keyword service list path uses the matching resource store and index set.
1 parent 44f9fb7 commit 7090c02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/console/service/service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ func SearchServices(ctx consolectx.Context, req *model.ServiceSearchReq) (*model
101101
}
102102
pageData, err := manager.PageListByIndexes[*meshresource.ServiceResource](
103103
ctx.ResourceManager(),
104-
meshresource.ServiceProviderMetadataKind,
104+
meshresource.ServiceKind,
105105
[]index.IndexCondition{
106106
{IndexName: index.ByMeshIndex, Value: req.Mesh, Operator: index.Equals},
107107
},

0 commit comments

Comments
 (0)