Skip to content

Commit

Permalink
modify dal mgr initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
taochen committed Mar 25, 2020
1 parent 01d25b6 commit 6a25f92
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ private DalConnectionString getConnectionString(DataSourceIdentity id) {
else if (id instanceof ApiDataSourceIdentity) {
DalConnectionString dalConnectionString = apiConnectionStrings.get(id);

if (dalConnectionString == null) {
if (dalConnectionString == null || dalConnectionString instanceof InvalidConnectionString) {
dalConnectionString = ((ApiDataSourceIdentity) id).getConnectionString();
apiConnectionStrings.put(id, dalConnectionString);
}
Expand Down

0 comments on commit 6a25f92

Please sign in to comment.