File tree 1 file changed +12
-0
lines changed
core/deployment/src/main/java/io/quarkus/deployment/configuration
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 84
84
import io .smallrye .config .SecretKeys ;
85
85
import io .smallrye .config .SmallRyeConfig ;
86
86
import io .smallrye .config .SmallRyeConfigBuilder ;
87
+ import io .smallrye .config .SmallRyeConfigBuilderCustomizer ;
87
88
import io .smallrye .config .SysPropConfigSource ;
88
89
import io .smallrye .config .common .AbstractConfigSource ;
89
90
@@ -1112,6 +1113,17 @@ private SmallRyeConfig getConfigForRuntimeRecording() {
1112
1113
builder .getProfiles ().add ("" );
1113
1114
builder .getSources ().clear ();
1114
1115
builder .getSourceProviders ().clear ();
1116
+ builder .withCustomizers (new SmallRyeConfigBuilderCustomizer () {
1117
+ @ Override
1118
+ public void configBuilder (final SmallRyeConfigBuilder builder ) {
1119
+ builder .getMappingsBuilder ().getMappings ().clear ();
1120
+ }
1121
+
1122
+ @ Override
1123
+ public int priority () {
1124
+ return Integer .MAX_VALUE ;
1125
+ }
1126
+ });
1115
1127
builder .setAddDefaultSources (false )
1116
1128
// Customizers may duplicate sources, but not much we can do about it, we need to run them
1117
1129
.addDiscoveredCustomizers ()
You can’t perform that action at this time.
0 commit comments