Skip to content

Commit c002cc5

Browse files
committed
Fix test failures
1 parent 94b5f6f commit c002cc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/odo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export const Command = {
8181
listComponentPorts: (project: string, app: string, component: string) =>
8282
`oc get service ${component}-${app} --namespace ${project} -o jsonpath="{range .spec.ports[*]}{.port}{','}{end}"`,
8383
linkComponentTo: (project: string, app: string, component: string, componentToLink: string) =>
84-
`odo project set ${project} && odo application set ${app} && odo component set ${context} && odo link ${componentToLink} --wait`,
84+
`odo project set ${project} && odo application set ${app} && odo component set ${component} && odo link ${componentToLink} --wait`,
8585
pushComponent: (project: string, app: string, component: string) =>
8686
`odo push ${component} --app ${app} --project ${project}`,
8787
pushLocalComponent: (project: string, app: string, component: string, location: string) =>

0 commit comments

Comments
 (0)