chore(broker): fix code style issue
Co-Authored-By: Zaiming (Stone) Shi <zmstone@gmail.com>
This commit is contained in:
parent
2f98f1faaf
commit
b4eac25678
|
@ -621,10 +621,10 @@ sync_route(Action, Topic, ReplyTo) ->
|
||||||
none ->
|
none ->
|
||||||
regular_sync_route(Action, Topic);
|
regular_sync_route(Action, Topic);
|
||||||
Role ->
|
Role ->
|
||||||
case mria_config:whoami() of
|
case Role =:= mria_config:whoami() of
|
||||||
Role ->
|
true ->
|
||||||
push_sync_route(Action, Topic, ReplyTo);
|
push_sync_route(Action, Topic, ReplyTo);
|
||||||
_Disabled ->
|
false ->
|
||||||
regular_sync_route(Action, Topic)
|
regular_sync_route(Action, Topic)
|
||||||
end
|
end
|
||||||
end.
|
end.
|
||||||
|
|
Loading…
Reference in New Issue