Skip to content

Commit f9ad70c

Browse files
felladrinpull[bot]
authored andcommitted
Add parameters to ConnectionBuilder constructor, as on next Gateway release it won't run without them
1 parent 4dd2ffb commit f9ad70c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

components/ide/jetbrains/gateway-plugin/src/main/kotlin/io/gitpod/jetbrains/gateway/GitpodConnectionProvider.kt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
1111
import com.intellij.ide.BrowserUtil
1212
import com.intellij.openapi.components.service
1313
import com.intellij.openapi.diagnostic.thisLogger
14+
import com.intellij.openapi.progress.ProgressManager
1415
import com.intellij.remote.RemoteCredentialsHolder
1516
import com.intellij.ssh.AskAboutHostKey
1617
import com.intellij.ssh.OpenSshLikeHostKeyVerifier
@@ -301,7 +302,11 @@ class GitpodConnectionProvider : GatewayConnectionProvider {
301302
credentials.port = 22
302303
credentials.userName = userName
303304
credentials.password = password
304-
credentials.connectionBuilder().withSshConnectionConfig {
305+
credentials.connectionBuilder(
306+
null,
307+
ProgressManager.getGlobalProgressIndicator(),
308+
false
309+
).withSshConnectionConfig {
305310
val hostKeyVerifier = it.hostKeyVerifier
306311
if (hostKeyVerifier is OpenSshLikeHostKeyVerifier) {
307312
val acceptHostKey = acceptHostKey(ideUrl, hostKeys)

0 commit comments

Comments
 (0)