-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
node-manager does not update NTP sync status correctly
The function that is updating the NTP sync status does not work correct. The function initially checks whether it is necessary to perform an update by comparing a saved value and the current value. The wrong comparison operator was used which leads to an incorrect behavior of the function. Changes: - Make use of correct comparison operator. - Small code cleanups. - Add useful debug messages. - Error from `monitor.prepareUpdateAnnotation()` is not handled in `updateNTPSyncStatus()`. Related to: harvester/harvester#7696 Signed-off-by: Volker Theile <[email protected]>
- Loading branch information
Showing
1 changed file
with
40 additions
and
18 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