diff --git a/server/const.go b/server/const.go index bfff93dd..91b8fc29 100644 --- a/server/const.go +++ b/server/const.go @@ -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 diff --git a/vendor/github.com/nats-io/jwt/exports.go b/vendor/github.com/nats-io/jwt/exports.go index 4e4e0915..528fbea3 100644 --- a/vendor/github.com/nats-io/jwt/exports.go +++ b/vendor/github.com/nats-io/jwt/exports.go @@ -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) } diff --git a/vendor/manifest b/vendor/manifest index d0780894..46781ee1 100644 --- a/vendor/manifest +++ b/vendor/manifest @@ -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 },