Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix minor rebase issue #19111

Merged
merged 1 commit into from
Jul 30, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,10 @@ public AgroalDataSource doCreateDataSource(String dataSourceName) {
if (!dataSourceJdbcRuntimeConfig.url.isPresent()) {
String errorMessage;
// we don't have any URL configuration so using a standard message
String name;
if (DataSourceUtil.isDefault(dataSourceName)) {
errorMessage = "quarkus.datasource.jdbc.url has not been defined";
name = "quarkus.datasource.jdbc.url";
} else {
errorMessage = "quarkus.datasource." + dataSourceName + ".jdbc.url has not been defined";
name = "quarkus.datasource." + dataSourceName;
}
//this is not an error situation, because we want to allow the situation where a JDBC extension
//is installed but has not been configured
Expand Down