Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion ingestion/src/metadata/utils/ssl_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ def _(self, connection):
matillion_connection = cast(MatillionConnection, connection)
if (
matillion_connection.connection
and hasattr(matillion_connection.connection, "sslConfig")
and matillion_connection.connection.sslConfig
):
if matillion_connection.connection.sslConfig.root.caCertificate:
Expand Down Expand Up @@ -351,7 +352,9 @@ def check_ssl_and_init(
@check_ssl_and_init.register(MatillionConnection)
def _(connection) -> Union[SSLManager, None]:
service_connection = cast(MatillionConnection, connection)
if service_connection.connection:
if service_connection.connection and hasattr(
service_connection.connection, "sslConfig"
):
Comment thread
ulixius9 marked this conversation as resolved.
ssl: Optional[
verifySSLConfig.SslConfig
] = service_connection.connection.sslConfig
Expand Down
Loading