Skip to content

Conversation

@imobachgs
Copy link
Contributor

@imobachgs imobachgs commented Jul 29, 2025

Problem

#2570 introduced a check to make sure that a product is selected in some cases when the user tries to load a configuration that contains some specific sections (basically software and storage-related ones).

However, agama config load now complains always.

Solution

The root cause is that, when deserializing the settings, a users section is always present (due to the use of flatten and optional fields). However, the users section does not require the product anymore.

Testing

  • Tested manually

@coveralls
Copy link

Coverage Status

coverage: 75.953% (+11.8%) from 64.201%
when pulling 84b30bb on bsc-1247248
into d067854 on master.

@imobachgs imobachgs marked this pull request as ready for review July 29, 2025 10:39
Copy link
Contributor

@joseivanlopez joseivanlopez left a comment

Choose a reason for hiding this comment

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

LGTM

@imobachgs imobachgs merged commit b191edc into master Jul 29, 2025
17 checks passed
@imobachgs imobachgs deleted the bsc-1247248 branch July 29, 2025 12:27
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.

4 participants