Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

同一网域下配置多个网关,在登录时选择的网关的问题 #2658

leeloveying opened this issue May 5, 2019 · 0 comments


None yet
1 participant
Copy link

commented May 5, 2019

def random_ssh_gateway(self):
return random.choice([g for g in self.gateways if g.protocol == 'ssh'])



Version 1.4.9-2

[注:] 完成后请关闭 issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.