Skip to content

Fix: Broken image links for container images#4557

Merged
mproffitt merged 1 commit intoweaveworks:mainfrom
mproffitt:convert-image
Jan 18, 2025
Merged

Fix: Broken image links for container images#4557
mproffitt merged 1 commit intoweaveworks:mainfrom
mproffitt:convert-image

Conversation

@mproffitt
Copy link
Copy Markdown
Contributor

Whilst testing the react router change, I observed that links to container images on docker.io, ghcr and others resulted in a broken URL that didn't resolve to anywhere.

It is likely that this functionality never worked as the image URL was never resolved back to its upstream counterpart as implemented in the convertImage function.

This change is necessary to ensure container images link out to the correct location to engineers can better understand the continers running inside their cluster workloads.

This change addresses the need by: wrapping container image links in the convertImage function

@mproffitt mproffitt requested a review from gusevda January 17, 2025 18:31
Whilst testing the react router change, I observed that links to
container images on docker.io, ghcr and others resulted in a broken URL
that didn't resolve to anywhere.

It is likely that this functionality never worked as the image URL was
never resolved back to its upstream counterpart as implemented in the
`convertImage` function.

This change is necessary to ensure container images link out to the
correct location to engineers can better understand the continers
running inside their cluster workloads.

This change addresses the need by: wrapping container image links in the
`convertImage` function
@mproffitt mproffitt enabled auto-merge (rebase) January 18, 2025 08:12
@mproffitt mproffitt merged commit c565272 into weaveworks:main Jan 18, 2025
This was referenced Feb 4, 2025
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.

2 participants