Repository navigation
Fix acme state to correctly return on test - #44603
Merged
Merged
Conversation
Previously, the acme.cert state would return that a change was pending during a test run even in the case that the certificate would not have been touched. Changed the return value in this case so that it is not thought to require a change. This is reported in #40208 [0] and is also referenced in #42763 [1]. The issue #40208 looks to go on to recommend further changes beyond the scope of this 'quick fix'. [0] #40208 (comment) [1] #42763 (comment)
rallytime
approved these changes
Nov 20, 2017
cachedout
approved these changes
Nov 20, 2017
Contributor
Author
|
Just noticed that this wasn't included in 2017.7.3. Would a backport be possible for .4? |
Contributor
|
@oarmstrong I can back-port this to 2017.7 branch, but it won't make it into 2017.7.4. It will be in 2017.7.5. In the future, please feel free to submit bug fixes to the main release branch. There's more details about that here. Please let me know if you have any questions. Thanks! |
Contributor
Author
|
Ah, my apologies. I'll keep that in mind for my future contributions. Many thanks! |
Contributor
|
@oarmstrong No problem at all! Thanks again for the fix. 😄 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Previously, the acme.cert state would return that a change was pending
during a test run even in the case that the certificate would not have
been touched.
Changed the return value in this case so that it is not thought to
require a change.
What issues does this PR fix or reference?
Partial 'quick fix' for #40208. Referenced in part as well at #42763.
Previous Behavior
acme.certwithtest=Truewould also return in a changed state even when it specified that no changes are required.New Behavior
acme.certno longer quotes that changes are required when they are not.Tests written?
No
Commits signed with GPG?
Yes