You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/openshift/component.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -127,7 +127,7 @@ export class Component extends OpenShiftItem {
127
127
if(!serviceToLink)returnnull;
128
128
129
129
returnPromise.resolve()
130
-
.then(()=>Service.odo.execute(`odo link ${serviceToLink.getName()}--app ${app.getName()}--project ${project.getName()}--component ${context.getName()} --wait`))
130
+
.then(()=>Service.odo.execute(`odo project set ${project.getName()}&& odo application set ${app.getName()}&& odo component set ${context.getName()}&& odo link ${serviceToLink.getName()} --wait`))
131
131
.then(()=>`service '${serviceToLink.getName()}' successfully linked with component '${context.getName()}'`)
132
132
.catch((err)=>Promise.reject(`Failed to link service with error '${err}'`));
0 commit comments