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: providerinfo badge #5268

Merged
merged 1 commit into from Dec 14, 2023
Merged

fix: providerinfo badge #5268

merged 1 commit into from Dec 14, 2023

Conversation

deboer-tim
Copy link
Collaborator

What does this PR do?

ProviderInfo was built for pods, where the .kind is 'podman' or 'kubernetes'. For images, .engineName is 'Podman'. Simple fix to base color on lowercased provider name.

Tests added. Some unrelated tests aren't passing a provider, so that's why the '?'.

Screenshot / video of UI

The dot changes color, see #5264.

What issues does this PR fix or reference?

Fixes #5264.

How to test this PR?

Go to Images page, Podman environment badges now purple.

ProviderInfo was built for pods, where the .kind is 'podman' or 'kubernetes'.
For images, .engineName is 'Podman'. Simple fix to base color on lowercased
provider name.

Tests added. Some unrelated tests aren't passing a provider, so that's why the '?'.

Fixes #5264.

Signed-off-by: Tim deBoer <git@tdeboer.ca>
@deboer-tim deboer-tim requested review from benoitf and a team as code owners December 14, 2023 15:24
@deboer-tim deboer-tim requested review from jeffmaury and lstocchi and removed request for a team December 14, 2023 15:24
@deboer-tim deboer-tim changed the title fix: providerinfo handle fix: providerinfo badge Dec 14, 2023
@benoitf benoitf merged commit 4fe0e5c into main Dec 14, 2023
8 checks passed
@benoitf benoitf deleted the provider-badge branch December 14, 2023 23:17
@podman-desktop-bot podman-desktop-bot added this to the 1.7.0 milestone Dec 14, 2023
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.

Inconsistent colors between environments in Images vs Containers/Pods
4 participants