Skip to content

Commit

Permalink
rebase to add FQDNs from the proxy configuration to existing system
Browse files Browse the repository at this point in the history
  • Loading branch information
rjpmestre committed May 27, 2024
1 parent b9f769c commit fb03d2f
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,11 @@ private Server getOrCreateProxySystem(
}
info.setSshPort(port);
info.setSshPublicKey(sshPublicKey.getBytes());

// Add the FQDNs as some may not be already known
server.getFqdns().addAll(fqdns.stream()
.filter(fqdn -> !fqdn.contains("*"))
.map(fqdn -> new ServerFQDN(server, fqdn)).collect(Collectors.toList()));
return server;
}
Server server = ServerFactory.createServer();
Expand Down

0 comments on commit fb03d2f

Please sign in to comment.