mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 03:54:24 +01:00
Move tunnel features (#140620)
This commit is contained in:
@@ -920,7 +920,7 @@ class RemoteExplorerService implements IRemoteExplorerService {
|
||||
|
||||
constructor(
|
||||
@IStorageService private readonly storageService: IStorageService,
|
||||
@ITunnelService tunnelService: ITunnelService,
|
||||
@ITunnelService private readonly tunnelService: ITunnelService,
|
||||
@IConfigurationService configurationService: IConfigurationService,
|
||||
@IWorkbenchEnvironmentService environmentService: IWorkbenchEnvironmentService,
|
||||
@IRemoteAuthorityResolverService remoteAuthorityResolverService: IRemoteAuthorityResolverService,
|
||||
@@ -960,6 +960,9 @@ class RemoteExplorerService implements IRemoteExplorerService {
|
||||
}
|
||||
|
||||
setTunnelInformation(tunnelInformation: TunnelInformation | undefined): void {
|
||||
if (tunnelInformation?.features) {
|
||||
this.tunnelService.setTunnelFeatures(tunnelInformation.features);
|
||||
}
|
||||
this.tunnelModel.addEnvironmentTunnels(tunnelInformation?.environmentTunnels);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user