Skip to content

Commit

Permalink
fix: adjust alignment for 32-bit arch (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
shubha-rajan committed May 18, 2022
1 parent 326d07d commit 86e96ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/cloudsql/instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ func (r *refreshOperation) IsValid() bool {
// the Cloud SQL Admin API. It automatically refreshes the 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

connName
key *rsa.PrivateKey
r refresher
Expand All @@ -131,9 +134,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 86e96ad

Please sign in to comment.