mirror of
https://github.com/openfaas/faas.git
synced 2025-06-20 23:16:34 +00:00
Bump to nats-queue-worker 0.7.0
Includes fix for reconnection bug to NATS Streaming Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
3
gateway/vendor/github.com/openfaas/nats-queue-worker/nats/client.go
generated
vendored
3
gateway/vendor/github.com/openfaas/nats-queue-worker/nats/client.go
generated
vendored
@ -3,6 +3,7 @@ package nats
|
||||
import "regexp"
|
||||
|
||||
var supportedCharacters = regexp.MustCompile("[^a-zA-Z0-9-_]+")
|
||||
|
||||
func GetClientID(value string) string {
|
||||
return supportedCharacters.ReplaceAllString(value, "_")
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user