Skip to content

Commit

Permalink
fix: fix complie error generated by conflict pr (#38729)
Browse files Browse the repository at this point in the history
issue: #38399

Signed-off-by: chyezh <[email protected]>
  • Loading branch information
chyezh authored Dec 25, 2024
1 parent 118678b commit 05d9f85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/util/streamingutil/util/wal_selector.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 05d9f85

Please sign in to comment.