Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: adjust alignment for 32-bit arch #33

Merged
merged 2 commits into from
May 17, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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