chore(broker): fix code style issue

Co-Authored-By: Zaiming (Stone) Shi <zmstone@gmail.com>
This commit is contained in:
Andrew Mayorov 2024-01-12 13:54:23 +01:00
parent 2f98f1faaf
commit b4eac25678
No known key found for this signature in database
GPG Key ID: 2837C62ACFBFED5D
1 changed files with 3 additions and 3 deletions

View File

@ -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.