Skip to content

Commit

Permalink
Don't ignore port attributes label
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanp413 committed Jul 5, 2024
1 parent 82104a3 commit 2ea6718
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/vs/workbench/services/remote/common/tunnelModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ export class TunnelModel extends Disposable {
protocol: attributes?.get(tunnel.tunnelRemotePort)?.protocol ?? TunnelProtocol.Http,
localUri: await this.makeLocalUri(tunnel.localAddress, attributes?.get(tunnel.tunnelRemotePort)),
localPort: tunnel.tunnelLocalPort,
name: attributes?.get(tunnel.tunnelRemotePort)?.label,
runningProcess: matchingCandidate?.detail,
hasRunningProcess: !!matchingCandidate,
pid: matchingCandidate?.pid,
Expand Down Expand Up @@ -486,6 +487,7 @@ export class TunnelModel extends Disposable {
protocol: attributes?.protocol ?? TunnelProtocol.Http,
localUri: await this.makeLocalUri(tunnel.localAddress, attributes),
localPort: tunnel.tunnelLocalPort,
name: attributes?.label,
closeable: true,
runningProcess: matchingCandidate?.detail,
hasRunningProcess: !!matchingCandidate,
Expand Down

0 comments on commit 2ea6718

Please sign in to comment.