Skip to content

Commit

Permalink
Fix QuarkusPropertiesConfigSource
Browse files Browse the repository at this point in the history
Signed-off-by: Václav Muzikář <[email protected]>
  • Loading branch information
vmuzikar committed Aug 6, 2024
1 parent f7bceaa commit 2728bef
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ public static boolean isSameSource(ConfigValue value) {
return false;
}

return NAME.equals(value.getConfigSourceName());
// workaround for https://github.com/smallrye/smallrye-config/issues/1207
// replace by the following line when fixed:
// return NAME.equals(value.getConfigSourceName());
return value.getConfigSourceName() != null && value.getConfigSourceName().endsWith(FILE_NAME);
}

public static Path getConfigurationFile() {
Expand Down

0 comments on commit 2728bef

Please sign in to comment.