mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
jwt lib update, bumped version
Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
@@ -40,7 +40,7 @@ var (
|
||||
|
||||
const (
|
||||
// VERSION is the current version for the server.
|
||||
VERSION = "2.0.0-beta.9"
|
||||
VERSION = "2.0.0-beta.10"
|
||||
|
||||
// PROTO is the currently supported protocol.
|
||||
// 0 was the original
|
||||
|
||||
7
vendor/github.com/nats-io/jwt/exports.go
generated
vendored
7
vendor/github.com/nats-io/jwt/exports.go
generated
vendored
@@ -27,13 +27,6 @@ func (e *Export) Validate(vr *ValidationResults) {
|
||||
if !e.IsService() && !e.IsStream() {
|
||||
vr.AddError("invalid export type: %q", e.Type)
|
||||
}
|
||||
|
||||
if e.IsService() {
|
||||
if e.Subject.HasWildCards() {
|
||||
vr.AddWarning("services cannot have wildcard subject: %q", e.Subject)
|
||||
}
|
||||
}
|
||||
|
||||
e.Subject.Validate(vr)
|
||||
}
|
||||
|
||||
|
||||
2
vendor/manifest
vendored
2
vendor/manifest
vendored
@@ -5,7 +5,7 @@
|
||||
"importpath": "github.com/nats-io/jwt",
|
||||
"repository": "https://github.com/nats-io/jwt",
|
||||
"vcs": "git",
|
||||
"revision": "cad7522beb57f4823c682c3b63d53bcb3bf1cf3d",
|
||||
"revision": "a7fd8925349a3183ec07e1683d4e34eb5ad0e453",
|
||||
"branch": "master",
|
||||
"notests": true
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user