From e7e413eb354ef62a76b78ccbcf6329b5be2079ac Mon Sep 17 00:00:00 2001 From: chyezh Date: Wed, 25 Dec 2024 09:58:57 +0800 Subject: [PATCH] fix: fix complie error generated by conflict pr Signed-off-by: chyezh --- internal/util/streamingutil/util/wal_selector.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/util/streamingutil/util/wal_selector.go b/internal/util/streamingutil/util/wal_selector.go index ef6c7abfba914..3c2f0c71f59b2 100644 --- a/internal/util/streamingutil/util/wal_selector.go +++ b/internal/util/streamingutil/util/wal_selector.go @@ -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(),