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: Fix storage profiles list broken osFamily matching #252

Merged
merged 1 commit into from
Mar 27, 2024

Conversation

ttblanchard
Copy link
Contributor

What was the problem/requirement? (What/Why)

Storage profiles no longer displayed in the config gui. The API had changed from using lower case "windows" to uppercase "WINDOWS" for the osFamily field of the storage profiles.

What was the solution? (How)

Convert to lower case when comparing against the current os to determine if a Storage Profile should be included in the list.

What is the impact of this change?

Storage Profile configuration works again.

How was this change tested?

Build and run locally.

Was this change documented?

no.

Is this a breaking change?

no.

Signed-off-by: Trevor Blanchard <blantrev@amazon.com>
@ttblanchard ttblanchard requested a review from a team as a code owner March 27, 2024 16:28
@ttblanchard ttblanchard merged commit c8151db into mainline Mar 27, 2024
18 checks passed
@ttblanchard ttblanchard deleted the fix-sp-os-name branch March 27, 2024 16:46
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.

3 participants