Skip to content

Commit

Permalink
Merge pull request #223 from nats-io/neil/accountnrg
Browse files Browse the repository at this point in the history
  • Loading branch information
neilalexander authored Sep 10, 2024
2 parents ff68a3b + 1378f59 commit 4445fcd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/go-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
strategy:
matrix:
include:
- go: '1.19.x'
- go: "stable"
os: ubuntu-latest
canonical: true
- go: '1.19.x'
- go: "stable"
os: windows-latest
canonical: false

Expand All @@ -29,7 +29,6 @@ jobs:
with:
go-version: ${{matrix.go}}


- name: Install deps
shell: bash --noprofile --norc -x -eo pipefail {0}
run: |
Expand Down
1 change: 1 addition & 0 deletions v2/account_claims.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ type Account struct {
Mappings Mapping `json:"mappings,omitempty"`
Authorization ExternalAuthorization `json:"authorization,omitempty"`
Trace *MsgTrace `json:"trace,omitempty"`
ClusterTraffic string `json:"cluster_traffic,omitempty"`
Info
GenericFields
}
Expand Down
2 changes: 1 addition & 1 deletion v2/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ func (l *Limits) Validate(vr *ValidationResults) {
}
}

if l.Times != nil && len(l.Times) > 0 {
if len(l.Times) > 0 {
for _, t := range l.Times {
t.Validate(vr)
}
Expand Down
2 changes: 1 addition & 1 deletion v2/v1compat/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ func (l *Limits) Validate(vr *ValidationResults) {
}
}

if l.Times != nil && len(l.Times) > 0 {
if len(l.Times) > 0 {
for _, t := range l.Times {
t.Validate(vr)
}
Expand Down

0 comments on commit 4445fcd

Please sign in to comment.