Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix license check when DB conn is flapping (#547)
This have slipped unnoticed. If only one out of few license check calls fails (e.g. db being temporarily unavailable), `returnedErr` was not reset and shadowed the passing check. This PR updates this logic - a single passed check resets `returnedErr` and immediately returns, additionally cancelling further (unnecessary) executions.
- Loading branch information