Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
connect: fix shouldPersistNewRootAndConfig logic
hashicorp#12298 introduced an improvement to prevent raft commit for no-op operations, but while moving conditions into a function, author inversed the logic while keep same boolean operations. As a consequence, this prevents one to update provider config of a secondary CA. Correct code was suggested in a review comment anyway, so apply it: hashicorp#12298 (review)
- Loading branch information