-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: defer pebble ready event if container is not ready (#116)
* fix: defer pebble ready event if container is not ready Deferring the pebble ready event will ensure that the required operations that need to happen before starting the service are in place. In this case, certificate files need to be present in the container, but sometimes the container is not reachable, causing the action of pushing these files to the container impossible. In the past we returned if the container was not reachable, but never tried to reach out to it and push the files, this commit ensures the retry via defer. Fixes 110 * tests: add test case for defer event and expand unit tests
- Loading branch information
Showing
2 changed files
with
17 additions
and
2 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
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