Skip to content

Commit 690bad4

Browse files
committed
fix static check
1 parent 4b51291 commit 690bad4

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

database/aerospike.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ type AerospikeError struct {
1414

1515
// Aerospike is our primary struct
1616
type Aerospike struct {
17-
Client *aerospike.Client
18-
Hostname string
19-
Port int
20-
TLSName string
21-
Policy *aerospike.ClientPolicy
22-
GlobalNamespace string
23-
GlobalSetName string
17+
Client *aerospike.Client `json:"-"`
18+
Hostname string `json:"hostname,omitempty"`
19+
Port int `json:"port,omitempty"`
20+
TLSName string `json:"TLSName,omitempty"`
21+
Policy *aerospike.ClientPolicy `json:"-"`
22+
GlobalNamespace string `json:"globalNamespace,omitempty"`
23+
GlobalSetName string `json:"globalSetName,omitempty"`
2424
}
2525

2626
// Default creates a default config based on given parameters

0 commit comments

Comments
 (0)