Skip to content

Commit 5696895

Browse files
sudhirvermadgolovin
authored andcommitted
Provided appropriate title for show build log command from command palette
1 parent 7532208 commit 5696895

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

package.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
"onCommand:clusters.openshift.deploy",
9595
"onCommand:clusters.openshift.build.start",
9696
"onCommand:clusters.openshift.build.showLog",
97+
"onCommand:clusters.openshift.build.showLog.palette",
9798
"onCommand:clusters.openshift.build.followLog",
9899
"onCommand:clusters.openshift.build.delete",
99100
"onCommand:clusters.openshift.build.delete.palette",
@@ -452,6 +453,11 @@
452453
"title": "Show Log",
453454
"category": "OpenShift"
454455
},
456+
{
457+
"command": "clusters.openshift.build.showLog.palette",
458+
"title": "Show Build's Log",
459+
"category": "OpenShift"
460+
},
455461
{
456462
"command": "clusters.openshift.deploy.dc.showLog",
457463
"title": "Show Log",
@@ -567,6 +573,10 @@
567573
"command": "clusters.openshift.build.delete",
568574
"when": "view == openshiftProjectExplorer"
569575
},
576+
{
577+
"command": "clusters.openshift.build.showLog",
578+
"when": "view == openshiftProjectExplorer"
579+
},
570580
{
571581
"command": "clusters.openshift.deploy.delete",
572582
"when": "view == openshiftProjectExplorer"

src/extension.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ export async function activate(context: vscode.ExtensionContext) {
6868
vscode.commands.registerCommand('clusters.openshift.deploy.rcShowLog', (context) => execute(DeploymentConfig.rcShowLog, context)),
6969
vscode.commands.registerCommand('clusters.openshift.deploy.rcShowLog.palette', (context) => execute(DeploymentConfig.rcShowLog, context)),
7070
vscode.commands.registerCommand('clusters.openshift.build.showLog', (context) => execute(Build.showLog, context)),
71+
vscode.commands.registerCommand('clusters.openshift.build.showLog.palette', (context) => execute(Build.showLog, context)),
7172
vscode.commands.registerCommand('clusters.openshift.build.followLog', (context) => execute(Build.followLog, context)),
7273
vscode.commands.registerCommand('clusters.openshift.build.delete', (context) => execute(Build.delete, context)),
7374
vscode.commands.registerCommand('clusters.openshift.build.delete.palette', (context) => execute(Build.delete, context)),

0 commit comments

Comments
 (0)