server/api: add the api to show the regions in subtree by type #8101
71.79% of diff hit (target 77.40%)
View this Pull Request on Codecov
71.79% of diff hit (target 77.40%)
Annotations
Check warning on line 1581 in pkg/core/region.go
codecov / codecov/patch
pkg/core/region.go#L1581
Added line #L1581 was not covered by tests
Check warning on line 1585 in pkg/core/region.go
codecov / codecov/patch
pkg/core/region.go#L1585
Added line #L1585 was not covered by tests
Check warning on line 1591 in pkg/core/region.go
codecov / codecov/patch
pkg/core/region.go#L1590-L1591
Added lines #L1590 - L1591 were not covered by tests
Check warning on line 230 in server/api/region.go
codecov / codecov/patch
server/api/region.go#L229-L230
Added lines #L229 - L230 were not covered by tests
Check warning on line 1203 in server/cluster/cluster.go
codecov / codecov/patch
server/cluster/cluster.go#L1202-L1203
Added lines #L1202 - L1203 were not covered by tests