Prevent error when workers config not found, throw warning instead#6568
Prevent error when workers config not found, throw warning instead#6568mergify[bot] merged 1 commit intoos-autoinst:masterfrom
Conversation
071f330 to
8274528
Compare
8274528 to
c4f0918
Compare
c4f0918 to
10d3ad3
Compare
|
I'm afraid you'll need to restructure the corresponding test: |
|
And how does this actually look like as a whole (together with the other startup log messages)? I'm just wondering because you're effectively moving the place where we log this and therefore possibly change the order of startup log messages. |
10d3ad3 to
7391c52
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6568 +/- ##
=========================================
Coverage ? 99.10%
=========================================
Files ? 399
Lines ? 40630
Branches ? 0
=========================================
Hits ? 40265
Misses ? 365
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@Martchus finally find the way to spin a single-instance container with local changes and this is the result: The log info is shown as expected! I'm preparing a new pr with a new docker file to spin the single instance container with local changes. |
|
The inconsistent capitalization of the info messages is not nice but I guess it is acceptable. (I guess I would have made it so it would still log everything were it was logged before and just make the parameter passing between the function calls a bit more involved. I guess your simple approach is ok, too.) |
Related: https://progress.opensuse.org/issues/181409
This is still a work in progress, the purpose of this is to replace the error with a warning since the instance even without the definition of the configuration is working.