Skip to content

Commit

Permalink
fix: adjust alignment for 32-bit arch (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
shubha-rajan committed May 17, 2022
1 parent 88d4abd commit b0e76fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/alloydb/instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ func (r *refreshOperation) IsValid() bool {
// required information approximately 5 minutes before the previous certificate
// expires (every 55 minutes).
type Instance struct {
// OpenConns is the number of open connections to the instance.
OpenConns uint64

instanceURI
key *rsa.PrivateKey
r refresher
Expand All @@ -137,9 +140,6 @@ type Instance struct {
// replacement to occur.
next *refreshOperation

// OpenConns is the number of open connections to the instance.
OpenConns uint64

// ctx is the default ctx for refresh operations. Canceling it prevents new refresh
// operations from being triggered.
ctx context.Context
Expand Down

0 comments on commit b0e76fa

Please sign in to comment.