mirror of
https://github.com/openfaas/faas.git
synced 2025-06-22 23:03:24 +00:00
Allow for customizing the name of the target NATS Streaming cluster.
Signed-off-by: Bruno Miguel Custódio <brunomcustodio@gmail.com>
This commit is contained in:
committed by
Alex Ellis
parent
ff5ec39e4d
commit
365f459b3f
@ -135,7 +135,7 @@ func main() {
|
||||
|
||||
defaultNATSConfig := natsHandler.NewDefaultNATSConfig(maxReconnect, interval)
|
||||
|
||||
natsQueue, queueErr := natsHandler.CreateNATSQueue(*config.NATSAddress, *config.NATSPort, defaultNATSConfig)
|
||||
natsQueue, queueErr := natsHandler.CreateNATSQueue(*config.NATSAddress, *config.NATSPort, *config.NATSClusterName, defaultNATSConfig)
|
||||
if queueErr != nil {
|
||||
log.Fatalln(queueErr)
|
||||
}
|
||||
|
Reference in New Issue
Block a user