Skip to content

Commit

Permalink
Release 2.1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
iggarish committed Nov 10, 2021
1 parent 42d9ee8 commit 12ad34b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<artifactId>redshift-jdbc42</artifactId>
<packaging>bundle</packaging>
<name>Redshift JDBC Driver - JDBC 4.2</name>
<version>2.1.0.1</version>
<version>2.1.0.2</version>

<description>Java JDBC 4.2 (JRE 8+) driver for Redshift database</description>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import java.util.Date;
import java.util.Locale;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;

import com.amazonaws.SdkClientException;
Expand Down Expand Up @@ -64,6 +65,12 @@ public CredentialsHolder getCredentials(String profileName)
}

Map<String, BasicProfile> map = getAllBasicProfiles();

if(RedshiftLogger.isEnable()) {
Set<String> profiles = map.keySet();
m_log.logInfo("profiles:" + profiles.toString());
}

BasicProfile profile = map.get(profileName);
if (profile == null)
{
Expand Down

0 comments on commit 12ad34b

Please sign in to comment.