Skip to content

Commit

Permalink
Revert "fix?"
Browse files Browse the repository at this point in the history
This reverts commit aa4f114.
  • Loading branch information
Divyanshu-Patel committed Oct 4, 2024
1 parent 2878176 commit f5288f4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions soda/redshift/soda/data_sources/redshift_data_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,8 @@ def __get_cluster_credentials(self, aws_credentials: AwsCredentials):
)

cluster_name = self.host.split(".")[0]
username = self.username or self.data_source_properties.get("username")
db_name = self.data_source_properties.get("database")

username = self.username
db_name = self.database
cluster_creds = client.get_cluster_credentials(
DbUser=username, DbName=db_name, ClusterIdentifier=cluster_name, AutoCreate=False, DurationSeconds=3600
)
Expand Down

0 comments on commit f5288f4

Please sign in to comment.