Files
labca/patches/remoteva_main.patch
2024-08-24 15:15:21 +02:00

25 lines
690 B
Diff

diff --git a/cmd/remoteva/main.go b/cmd/remoteva/main.go
index 9ea068fc0..ef77eebfe 100644
--- a/cmd/remoteva/main.go
+++ b/cmd/remoteva/main.go
@@ -37,7 +37,8 @@ type Config struct {
// For more information, see: https://pkg.go.dev/crypto/tls#ClientAuthType
SkipGRPCClientCertVerification bool
- Features features.Config
+ Features features.Config
+ LabCADomains []string
}
Syslog cmd.SyslogConfig
@@ -118,7 +119,8 @@ func main() {
scope,
clk,
logger,
- c.RVA.AccountURIPrefixes)
+ c.RVA.AccountURIPrefixes,
+ c.RVA.LabCADomains)
cmd.FailOnError(err, "Unable to create Remote-VA server")
start, err := bgrpc.NewServer(c.RVA.GRPC, logger).Add(