Fix attach external config#1469
Conversation
felixbarny
left a comment
There was a problem hiding this comment.
just a minor suggestion, otherwise LGTM
|
|
||
| private static void loadExternalProperties(Properties properties, String externalProperties) { | ||
| FileInputStream stream = null; | ||
| try { |
There was a problem hiding this comment.
Thanks, I always forget that one !
|
I have updated documentation for the most common case (remote attach with CLI), but in practice it will also make it possible to use I think it's unlikely enough that we can wait until it becomes an issue before dealing with that. |
Codecov Report
@@ Coverage Diff @@
## master #1469 +/- ##
============================================
+ Coverage 59.73% 63.48% +3.74%
- Complexity 91 3297 +3206
============================================
Files 391 344 -47
Lines 17528 16055 -1473
Branches 2408 2196 -212
============================================
- Hits 10470 10192 -278
+ Misses 6340 5173 -1167
+ Partials 718 690 -28
Continue to review full report at Codecov.
|
|
I've just realized that the initial implemented ordering wasn't consistent with what was documented, thus I've made |
What does this PR do?
When using remote attach, if there is any external configuration provided through
config_fileoption, this external configuration file is ignored.The expected behavior here should be to:
--configprovided through CLI.Checklist