Skip to content

Commit 91c9aab

Browse files
authored
[jb-gw] work around a bug in supervisor returning an empty user (#18975)
1 parent 4bc3a76 commit 91c9aab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ class GitpodConnectionProvider : GatewayConnectionProvider {
375375
}
376376

377377
var userName = keyPair.userName
378-
if (userName == null) {
378+
if (userName.isNullOrBlank()) {
379379
userName = "gitpod"
380380
}
381381

0 commit comments

Comments
 (0)