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(setting): check both setting and definition default for possible … #2573

Merged

Conversation

james-munson
Copy link
Contributor

@james-munson james-munson commented Feb 8, 2024

…change.

Which issue(s) this PR fixes:

Issue longhorn/longhorn#7755

What this PR does / why we need it:

When checking a potential configmap change for default settings, check not only the current setting value but also the setting definition default value to decide whether there is a change to apply.

Special notes for your reviewer:

Additional documentation or context

@james-munson james-munson requested a review from a team as a code owner February 8, 2024 20:01
datastore/longhorn.go Outdated Show resolved Hide resolved
@james-munson
Copy link
Contributor Author

Rebased and re-pushed.

@james-munson
Copy link
Contributor Author

Rebased and re-pushed. What is holding up this PR?

ejweber
ejweber previously approved these changes Feb 26, 2024
Copy link
Collaborator

@ejweber ejweber left a comment

Choose a reason for hiding this comment

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

LGTM.

@james-munson james-munson force-pushed the 7755-setting-definition-default branch 2 times, most recently from 1a73a40 to bd0c0c5 Compare March 6, 2024 21:03
@shuo-wu shuo-wu enabled auto-merge (rebase) March 8, 2024 01:35
…change.

Signed-off-by: James Munson <james.munson@suse.com>
@shuo-wu shuo-wu force-pushed the 7755-setting-definition-default branch from bd0c0c5 to 32bbec0 Compare March 8, 2024 01:36
@shuo-wu shuo-wu merged commit 81254ac into longhorn:master Mar 8, 2024
5 checks passed
@james-munson
Copy link
Contributor Author

@mergify backport v1.6.x v1.5.x

Copy link

mergify bot commented Mar 8, 2024

backport v1.6.x v1.5.x

✅ Backports have been created

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