mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-04 00:10:25 +08:00
refactor: 达梦ssh连接调整
This commit is contained in:
@@ -106,6 +106,6 @@ func (c *Cli) Close() {
|
||||
}
|
||||
if c.Info.SshTunnelMachine != nil {
|
||||
logx.Infof("关闭机器的隧道信息: machineId=%d, sshTunnelMachineId=%d", c.Info.Id, c.Info.SshTunnelMachine.Id)
|
||||
CloseSshTunnelMachine(int(c.Info.SshTunnelMachine.Id), c.Info.Id)
|
||||
CloseSshTunnelMachine(int(c.Info.SshTunnelMachine.Id), c.Info.GetTunnelId())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user