jwt lib update, bumped version

Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
Derek Collison
2018-12-12 20:43:07 -08:00
parent d7f4205c6c
commit c87702fd7c
3 changed files with 2 additions and 9 deletions

View File

@@ -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

View File

@@ -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
View File

@@ -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
},