Skip to content

Commit

Permalink
fix(ui): Correct HTTP connection in pipeline view (#7077)
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Collins <alex_collins@intuit.com>
  • Loading branch information
alexec authored Oct 27, 2021
1 parent 832ae29 commit 46767b8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const graph = (pipeline: Pipeline, steps: Step[]) => {
g.nodes.set(subjectId, {genre: 'stan', icon: 'stream', label: x.stan.subject});
g.edges.set({v: subjectId, w: stepId}, {classNames});
} else if (x.http) {
const y = new URL('http://' + (x.http.serviceName || pipeline.metadata.name + '-' + step.spec.name) + '/sources/' + x.name);
const y = new URL('https://' + (x.http.serviceName || pipeline.metadata.name + '-' + step.spec.name) + '/sources/' + x.name);
const subjectId = 'http/' + y;
g.nodes.set(subjectId, {genre: 'http', icon: 'cloud', label: y.hostname});
g.edges.set({v: subjectId, w: stepId}, {classNames});
Expand Down

0 comments on commit 46767b8

Please sign in to comment.