fix: fix complie error generated by conflict pr (#38729)

issue: #38399

Signed-off-by: chyezh <chyezh@outlook.com>
pull/38684/head
Zhen Ye 2024-12-25 10:14:49 +08:00 committed by GitHub
parent 118678bd91
commit 05d9f8562f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -22,8 +22,8 @@ type walEnable struct {
// MustSelectWALName select wal name.
func MustSelectWALName() string {
standalone := paramtable.GetRole() == typeutil.StandaloneRole
params := paramtable.Get()
standalone := params.RuntimeConfig.Role.GetAsString() == typeutil.StandaloneRole
return mustSelectWALName(standalone, params.MQCfg.Type.GetValue(), walEnable{
params.RocksmqEnable(),
params.PulsarEnable(),