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

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