Skip to content

Commit

Permalink
Improve code in get_forwarders
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Nogueira Gonçalves committed Oct 4, 2022
1 parent ec3244b commit 450d1e7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions _VERSION_MIGRATION/migrate-to-next.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,10 @@ def get_port_range():


def get_forwarders(forwarders):
matchmaker_address = ""
matchmaker_address = 'matchmaker-rpc.matchmaker.svc.cluster.local:80'

if matchmaker_endpoint != ""
matchmaker_address = matchmaker_endpoint
else
matchmaker_address = 'matchmaker-rpc.matchmaker.svc.cluster.local:80'

if not forwarders:
return []
Expand Down

0 comments on commit 450d1e7

Please sign in to comment.