Closed jovany-wang closed 1 year ago
This PR is used to validate the address passed into fed.init(), leading it following one of the rules:
fed.init()
local
localhost
LGTM. The validation of RecvProxy address will be next pr?
@zhouaihui I missed that. Just committed it right now.
This PR is used to validate the address passed into
fed.init()
, leading it following one of the rules:local
for starting a new cluster, orlocalhost
for connecting a local cluster.