Skip to content

Commit

Permalink
optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
KanShiori committed Oct 31, 2023
1 parent f18caa7 commit 42f9a63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/cluster/manager/display.go
Original file line number Diff line number Diff line change
Expand Up @@ -665,8 +665,8 @@ func (m *Manager) GetClusterTopology(dopt DisplayOption, opt operator.Options) (
ComponentName: ins.ComponentName(),
Port: ins.GetPort(),
Since: since,
NumaNode: ins.GetNumaNode(),
NumaCores: ins.GetNumaCores(),
NumaNode: utils.Ternary(ins.GetNumaNode() == "", "-", ins.GetNumaNode()).(string),
NumaCores: utils.Ternary(ins.GetNumaCores() == "", "-", ins.GetNumaCores()).(string),
})
mu.Unlock()
}, opt.Concurrency)
Expand Down

0 comments on commit 42f9a63

Please sign in to comment.