mirror of https://github.com/jumpserver/jumpserver
perf: native method 优化 (#9566)
* perf: native method 优化 * perf: update docker action test --------- Co-authored-by: Eric <xplzv@126.com>pull/9567/head
parent
1ec20a8f98
commit
9339cd271a
|
@ -21,6 +21,9 @@ jobs:
|
|||
push: false
|
||||
tags: jumpserver/core:test
|
||||
file: Dockerfile
|
||||
build-args: |
|
||||
APT_MIRROR=http://deb.debian.org
|
||||
PIP_MIRROR=https://pypi.org/simple
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
|
||||
|
|
|
@ -262,6 +262,9 @@ class ConnectMethodUtil:
|
|||
listen = component_protocol['listen']
|
||||
for listen_protocol in listen:
|
||||
# Native method
|
||||
if component == TerminalType.koko and protocol.value != Protocol.ssh:
|
||||
# koko 仅支持 ssh 的 native 方式,其他数据库的 native 方式不提供
|
||||
continue
|
||||
methods[protocol.value].extend([
|
||||
{
|
||||
'component': component.value,
|
||||
|
|
Loading…
Reference in New Issue