Add tool path column to the deployment tools table (#8597)

* remove redundan console.warn messages

* add tool path, trim existing columns in tools table

* Update dockerTool.ts
This commit is contained in:
Arvind Ranasaria
2019-12-06 15:53:40 -08:00
committed by GitHub
parent 6e8cc3aaca
commit 6fb120f5dd
7 changed files with 20 additions and 17 deletions

View File

@@ -24,7 +24,7 @@ export class AzCliTool extends ToolBase {
}
get description(): string {
return localize('resourceDeployment.AzCLIDescription', "A command-line tool for managing Azure resources");
return localize('resourceDeployment.AzCLIDescription', "A tool for managing Azure resources");
}
get type(): ToolType {

View File

@@ -28,7 +28,7 @@ export class AzdataTool extends ToolBase {
}
get description(): string {
return localize('resourceDeployment.AzdataDescription', "A command-line utility written in Python that enables cluster administrators to bootstrap and manage the Big Data Cluster via REST APIs");
return localize('resourceDeployment.AzdataDescription', "A utility to bootstrap and manage the Big Data Cluster");
}
get type(): ToolType {

View File

@@ -21,7 +21,7 @@ export class DockerTool extends ToolBase {
}
get description(): string {
return localize('resourceDeployment.DockerDescription', "Provides the ability to package and run an application in isolated containers");
return localize('resourceDeployment.DockerDescription', "A utility to package and run an application in isolated containers");
}
get type(): ToolType {

View File

@@ -24,7 +24,7 @@ export class KubeCtlTool extends ToolBase {
}
get description(): string {
return localize('resourceDeployment.KubeCtlDescription', "A command-line tool allows you to run commands against Kubernetes clusters");
return localize('resourceDeployment.KubeCtlDescription', "A tool to run commands against Kubernetes clusters");
}
get type(): ToolType {

View File

@@ -138,7 +138,7 @@ export abstract class ToolBase implements ITool {
return this._statusDescription;
}
public get installationPath(): string {
public get installationPath(): string | undefined {
return this._installationPath;
}
@@ -300,5 +300,5 @@ export abstract class ToolBase implements ITool {
private _status: ToolStatus = ToolStatus.NotInstalled;
private _version?: SemVer;
private _statusDescription?: string;
private _installationPath!: string;
private _installationPath?: string;
}