Skip to content

Commit

Permalink
Allow configuration of the new internal connector names
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorncs committed Nov 13, 2024
1 parent 351a47b commit dfc54c6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ public void validate(Context context) {

private static boolean isAllowedConnector(ConnectorFactory cf) {
return cf instanceof HostedSslConnectorFactory
|| cf.getClass().getSimpleName().endsWith("HealthCheckProxyConnector")
|| cf.getClass().getSimpleName().endsWith("HealthCheckProxyConnector") // TODO(bjorncs, 2024-11-13): remove once migrated
|| cf.getClass().getPackageName().startsWith("com.yahoo.vespa.model.container.amender")
|| (cf.getListenPort() == Container.BASEPORT && cf.sslProvider() instanceof DefaultSslProvider);
}
}

0 comments on commit dfc54c6

Please sign in to comment.