Skip to content

Commit

Permalink
remove ssl_mode parameter if not enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
nr23730 committed Jan 11, 2024
1 parent 1fe20d9 commit a4527d6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/resources/scripts/importer/cbioportal_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -1096,7 +1096,6 @@ def get_db_cursor(portal_properties: PortalProperties):
connection_kwargs['ssl_mode'] = 'REQUIRED'
connection_kwargs['ssl'] = {"ssl_mode": True}
else:
connection_kwargs['ssl_mode'] = 'DISABLED'
if url_elements.query.get("get-server-public-key") == "true":
connection_kwargs['ssl'] = {
'MYSQL_OPT_GET_SERVER_PUBLIC_KEY': True
Expand Down

0 comments on commit a4527d6

Please sign in to comment.