-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Determine controller cert change inside parseControllerCerts
parseControllerCerts already checks if there is any change in newly fetched controller certificates. We can therefore reuse that code instead of reloading saved signing certificate. Plus I'm not sure if we can simply skip parseControllerCerts when we detect that signing certificate has not changed - what if some other certificate of a different type has changed? Any cert update should be published to pubControllerCert. It is better to do some redundant save of the signing cert (when some other cert have changed, not the one for signing), then to forget to publish a cert update. Signed-off-by: Milan Lenco <milan@zededa.com> Signed-off-by: Roman Penyaev <r.peniaev@gmail.com>
- Loading branch information
1 parent
06d22e8
commit e6be327
Showing
1 changed file
with
23 additions
and
23 deletions.
There are no files selected for viewing
This file contains 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