We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be237fb commit d3a5b44Copy full SHA for d3a5b44
src/openshift/component.ts
@@ -102,7 +102,7 @@ export class Component extends OpenShiftItem {
102
if (!componentToLink) return null;
103
104
return Promise.resolve()
105
- .then(() => Component.odo.execute(`odo link ${componentToLink.getName()} --app ${app.getName()} --project ${project.getName()} --component ${context.getName()}`))
+ .then(() => Component.odo.execute(`odo link ${componentToLink.getName()} --app ${app.getName()} --project ${project.getName()} --component ${context.getName()} --wait`))
106
.then(() => `component '${componentToLink.getName()}' successfully linked with component '${context.getName()}'`)
107
.catch((err) => Promise.reject(`Failed to link component with error '${err}'`));
108
}
0 commit comments