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 broken URLs of namespaces from the topology at the director #1071

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

haoming29
Copy link
Contributor

@haoming29 haoming29 commented Apr 8, 2024

The URLs for the topology namespace in director are broken. The current code gives http:8000 as url or authUrl for namespaces from the topology (try /api/v1.0/director_ui/severs). The original code 10fd09f was correct in that url.Parse requires the scheme to be present, which is contrary to what I tested in the playground: #1043 (comment)

But since url.Parse documented that parsing a url without scheme is invalid, let's keep doing what we were doing to ensure nothing breaks.

@haoming29 haoming29 added bug Something isn't working critical High priority for next release director Issue relating to the director component labels Apr 8, 2024
@haoming29 haoming29 requested a review from turetske April 8, 2024 17:12
@haoming29 haoming29 added this to the v7.7.0 milestone Apr 8, 2024
@haoming29 haoming29 changed the title Fix director topology URLs broken Fix broken URLs of namespaces from the topology director Apr 8, 2024
@haoming29 haoming29 changed the title Fix broken URLs of namespaces from the topology director Fix broken URLs of namespaces from the topology at the director Apr 8, 2024
Copy link
Collaborator

@turetske turetske left a comment

Choose a reason for hiding this comment

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

LGTM!

@turetske turetske merged commit e91131e into PelicanPlatform:main Apr 9, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working critical High priority for next release director Issue relating to the director component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants