mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2026-03-14 14:35:44 +01:00
Check version of cluster nodes and log warning if different.
This commit is contained in:
parent
11fc1be6a7
commit
aaaf8cc743
6 changed files with 26 additions and 18 deletions
|
|
@ -202,7 +202,7 @@ func main() {
|
|||
}
|
||||
}()
|
||||
|
||||
rpcServer, err := signaling.NewGrpcServer(config)
|
||||
rpcServer, err := signaling.NewGrpcServer(config, version)
|
||||
if err != nil {
|
||||
log.Fatalf("Could not create RPC server: %s", err)
|
||||
}
|
||||
|
|
@ -213,7 +213,7 @@ func main() {
|
|||
}()
|
||||
defer rpcServer.Close()
|
||||
|
||||
rpcClients, err := signaling.NewGrpcClients(config, etcdClient, dnsMonitor)
|
||||
rpcClients, err := signaling.NewGrpcClients(config, etcdClient, dnsMonitor, version)
|
||||
if err != nil {
|
||||
log.Fatalf("Could not create RPC clients: %s", err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue