Skip to content

Commit 4445fcd

Browse files
Merge pull request #223 from nats-io/neil/accountnrg
2 parents ff68a3b + 1378f59 commit 4445fcd

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/go-test.yaml

+2-3
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ jobs:
77
strategy:
88
matrix:
99
include:
10-
- go: '1.19.x'
10+
- go: "stable"
1111
os: ubuntu-latest
1212
canonical: true
13-
- go: '1.19.x'
13+
- go: "stable"
1414
os: windows-latest
1515
canonical: false
1616

@@ -29,7 +29,6 @@ jobs:
2929
with:
3030
go-version: ${{matrix.go}}
3131

32-
3332
- name: Install deps
3433
shell: bash --noprofile --norc -x -eo pipefail {0}
3534
run: |

v2/account_claims.go

+1
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ type Account struct {
241241
Mappings Mapping `json:"mappings,omitempty"`
242242
Authorization ExternalAuthorization `json:"authorization,omitempty"`
243243
Trace *MsgTrace `json:"trace,omitempty"`
244+
ClusterTraffic string `json:"cluster_traffic,omitempty"`
244245
Info
245246
GenericFields
246247
}

v2/types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ func (l *Limits) Validate(vr *ValidationResults) {
309309
}
310310
}
311311

312-
if l.Times != nil && len(l.Times) > 0 {
312+
if len(l.Times) > 0 {
313313
for _, t := range l.Times {
314314
t.Validate(vr)
315315
}

v2/v1compat/types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ func (l *Limits) Validate(vr *ValidationResults) {
197197
}
198198
}
199199

200-
if l.Times != nil && len(l.Times) > 0 {
200+
if len(l.Times) > 0 {
201201
for _, t := range l.Times {
202202
t.Validate(vr)
203203
}

0 commit comments

Comments
 (0)