Skip to content

Commit 6cac03a

Browse files
committed
🆙 bump version and rename feature flag
1 parent 2df978a commit 6cac03a

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"displayName": "Gitpod",
44
"description": "Gitpod Support",
55
"publisher": "gitpod",
6-
"version": "0.0.109",
6+
"version": "0.0.110",
77
"daemonVersion": "0.0.7",
88
"license": "MIT",
99
"icon": "resources/gitpod.png",

src/experiments.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ export class ExperimentalSettings extends Disposable {
140140
/**
141141
* @see https://app.configcat.com/08da1258-64fb-4a8e-8a1e-51de773884f6/08da1258-6541-4fc7-8b61-c8b47f82f3a0/08da1258-6512-4ec0-80a3-3f6aa301f853?settingId=75503
142142
*/
143-
async getUseLocalSSHServer(gitpodHost: string): Promise<boolean> {
144-
return (await this.getRaw<boolean>('gitpod_desktop_use_local_ssh_server', { gitpodHost })) ?? false;
143+
async getUseLocalSSHProxy(gitpodHost: string): Promise<boolean> {
144+
return (await this.getRaw<boolean>('gitpod_desktop_use_local_ssh_proxy', { gitpodHost })) ?? false;
145145
}
146146

147147
async getUsePublicAPI(gitpodHost: string): Promise<boolean> {

src/remoteConnector.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ export class RemoteConnector extends Disposable {
687687
this.usePublicApi = await this.experiments.getUsePublicAPI(params.gitpodHost);
688688
this.logService.info(`Going to use ${this.usePublicApi ? 'public' : 'server'} API`);
689689

690-
let useLocalSSH = await this.experiments.getUseLocalSSHServer(params.gitpodHost);
690+
let useLocalSSH = await this.experiments.getUseLocalSSHProxy(params.gitpodHost);
691691
if (useLocalSSH) {
692692
await this.localSSHService.initialized;
693693
this.telemetryService.sendUserFlowStatus(this.localSSHService.isSupportLocalSSH ? 'success' : 'failure', { ...sshFlow, flow: 'local_ssh_config' });
@@ -828,7 +828,7 @@ export class RemoteConnector extends Disposable {
828828

829829
public async autoTunnelCommand(gitpodHost: string, instanceId: string, enabled: boolean) {
830830
if (this.sessionService.isSignedIn()) {
831-
const forceUseLocalApp = Configuration.getUseLocalApp(await this.experiments.getUseLocalSSHServer(gitpodHost));
831+
const forceUseLocalApp = Configuration.getUseLocalApp(await this.experiments.getUseLocalSSHProxy(gitpodHost));
832832
if (!forceUseLocalApp) {
833833
const authority = vscode.Uri.parse(gitpodHost).authority;
834834
const configKey = `config/${authority}`;

src/remoteSession.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export class RemoteSession extends Disposable {
6161
}
6262

6363
try {
64-
const useLocalSSH = await this.experiments.getUseLocalSSHServer(this.connectionInfo.gitpodHost);
64+
const useLocalSSH = await this.experiments.getUseLocalSSHProxy(this.connectionInfo.gitpodHost);
6565
if (useLocalSSH) {
6666
this.extensionServiceServer = new ExtensionServiceServer(this.logService, this.sessionService, this.hostService, this.telemetryService, this.experiments);
6767
}

0 commit comments

Comments
 (0)