Skip to content

Commit

Permalink
dashboard/api/host/all: add ticdc instance information to host/all api (
Browse files Browse the repository at this point in the history
  • Loading branch information
Jingyuma authored Aug 1, 2024
1 parent 3a96efa commit 5a0a3aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/apiserver/clusterinfo/hostinfo/cluster_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ func FillInstances(db *gorm.DB, m InfoMap) error {
Where("(`TYPE` = 'tidb' AND `KEY` = 'log.file.filename') " +
"OR (`TYPE` = 'tikv' AND `KEY` = 'storage.data-dir') " +
"OR (`TYPE` = 'pd' AND `KEY` = 'data-dir') " +
"OR (`TYPE` = 'ticdc' AND `KEY` = 'data-dir')" +
"OR (`TYPE` = 'tiflash' AND (`KEY` = 'engine-store.path' " +
" OR `KEY` = 'engine-store.storage.main.dir' " +
" OR `KEY` = 'engine-store.storage.latest.dir'))").
Expand Down

0 comments on commit 5a0a3aa

Please sign in to comment.