There was an error while loading. Please reload this page.
2 parents f71de55 + b3e81ce commit ec0cc4aCopy full SHA for ec0cc4a
1 file changed
src/eo_processing/utils/storage.py
@@ -774,10 +774,7 @@ def create_connection(self) -> psycopg.Connection:
774
try:
775
# get connection to server
776
print("** Establish connection to the database ...")
777
- if self.hadoop:
778
- host = self.sql_credentials['host_hadoop']
779
- else :
780
- host = self.sql_credentials['host']
+ host = self.sql_credentials['host']
781
782
conn = psycopg.connect(dbname=self.sql_credentials['dbname'],
783
user=self.sql_credentials['schema'],
0 commit comments