Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
controller: PendingError isn't actually an error
I think we confused ourselves with using an error to mean something else, and we ended up logging an error with log.V(1).Error which gets printed regardless of the logging level. What we really wanted is to only show these messages in debug mode, similarly as to how we log the "Succeeded signing certificate" messages. That way, the logging experience is consistent: someone debugging the logs will be able to see, in debug mode, the progression of the signing of the certificate as well as when it succeeded. I also propose to change the message associated with the PendingError case. It isn't a failure since PendingError isn't an error. Signed-off-by: Maël Valais <[email protected]>
- Loading branch information