Skip to content

Commit a0a8074

Browse files
committed
'OpenShift: Describe URL' implementation
1 parent d0e01fd commit a0a8074

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1109,7 +1109,7 @@
11091109
{
11101110
"command": "openshift.url.describe",
11111111
"when": "view == openshiftProjectExplorer && viewItem == componentRoute",
1112-
"group": "s3"
1112+
"group": "s1"
11131113
},
11141114
{
11151115
"command": "openshift.url.delete",

src/openshift/url.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,6 @@ export class Url extends OpenShiftItem{
9999
if (!url && component) {
100100
url = await window.showQuickPick(Url.odo.getRoutes(component), {placeHolder: `Select the URL to describe from the component ${component.getName()}`, ignoreFocusOut: true});
101101
}
102-
if (url) Url.odo.executeInTerminal(Command.describeUrl(url.getName()));
102+
if (url) Url.odo.executeInTerminal(Command.describeUrl(url.getName()), url.getParent().contextPath.fsPath);
103103
}
104104
}

0 commit comments

Comments
 (0)