Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Metabase
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Engineering Digital Service
Metabase
Commits
6bc1db16
Unverified
Commit
6bc1db16
authored
6 years ago
by
Tom Robinson
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #6970 from williamjacksn/patch-1
Fix SSH tunnel details
parents
07081bc4
c210845f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/metabase/util/ssh.clj
+1
-1
1 addition, 1 deletion
src/metabase/util/ssh.clj
with
1 addition
and
1 deletion
src/metabase/util/ssh.clj
+
1
−
1
View file @
6bc1db16
...
...
@@ -82,7 +82,7 @@
[
connection
tunnel-entrance-port
]
(
start-ssh-tunnel
(
assoc
details
:host
host
))
;; don't include L7 protocol in ssh tunnel
details-with-tunnel
(
assoc
details
:port
tunnel-entrance-port
;; This parameter is set dynamically when the connection is established
:host
(
str
proto
(
:tunnel-host
details
)
)
:host
(
str
proto
"localhost"
)
:tunnel-entrance-port
tunnel-entrance-port
;; the input port is not known until the connection is opened
:tunnel-connection
connection
)]
details-with-tunnel
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment