lyndsiWilliams commented on a change in pull request #16794:
URL: https://github.com/apache/superset/pull/16794#discussion_r714995083
##########
File path:
superset-frontend/src/views/CRUD/data/database/DatabaseModal/DatabaseConnectionForm.tsx
##########
@@ -454,13 +454,30 @@ const forceSSLField = ({
}}
/>
<span css={toggleStyle}>SSL</span>
- <InfoTooltip
- tooltip={t('SSL Mode "require" will be used.')}
- placement="right"
- viewBox="0 -5 24 24"
- />
+
+ {db?.database_name === 'PostgreSQL' && (
+ <InfoTooltip
+ tooltip={t('Requires a root certificate authority (public, local, or
self-signed). SSL Mode "require" will be used.')}
+ placement="right"
+ viewBox="0 -5 24 24"
+ /> )}
+
+ {db?.database_name === 'MySQL' && (
+ <InfoTooltip
+ tooltip={t('Requires a root certificate authority (public, local, or
self-signed).')}
+ placement="right"
+ viewBox="0 -5 24 24"
+ /> )}
+
+ {db?.database_name === 'Amazon Redshift' && (
+ <InfoTooltip
+ tooltip={t('Requires a root certificate authority (public, local, or
self-signed). SSL Mode "verify-ca" will be used.')}
+ placement="right"
+ viewBox="0 -5 24 24"
+ /> )}
+
</div>
-);
+ )
Review comment:
This parenthesis should have no tabbed space before it and a semicolon
after it. Run the Prettify extension in VScode to catch these little things
before GitHub CI does
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]