Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add protocol to type returned from JobHandlerPicker #105

Closed
wants to merge 1 commit into from

Conversation

KristianKjerstad
Copy link
Contributor

@KristianKjerstad KristianKjerstad commented Mar 1, 2023

What does this pull request change?

fix bug in JobHandlerPicker.

JobHandlerPicker is used in Analysis platform
image

the blueprintResolve endpoint in dmss return only a path
image

the protocol should be added since JobHandlerPicker returns a type

Why is this pull request needed?

bug

Issues related to this change

make analysis platform work again
closes #106

@@ -26,7 +27,7 @@ export const JobHandlerPicker = (props: {
absoluteId: `WorkflowDS/${blueprintId}`,
})
.then((response: any) => {
onChange(response.data)
onChange(`${protocolPrefix}${response.data}`)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we not rather fix DMSS to return a path with the correct protocol prefix?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mm, yeah. That makes sense.

@KristianKjerstad KristianKjerstad deleted the fix/bug-in-JobHandlerPicker branch March 1, 2023 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix: bug in JobHandlerPicker
2 participants