mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-17 11:24:44 -07:00
jwt lib update, bumped version
Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user